Built with blockbuilder.org
Created
July 19, 2020 22:52
-
-
Save enjalot/167debd20b1444ee75059e48210e530c to your computer and use it in GitHub Desktop.
Coding with Doom Fire embed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; | |
width: 1920px; | |
height: 1080px;} | |
</style> | |
<div id="observablehq-eebaab54"> | |
<div class="observablehq-viewof-canvas"></div> | |
</div> | |
<script type="module"> | |
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js"; | |
import define from "https://api.observablehq.com/@enjalot/coding-with-doom-fire.js?v=3"; | |
(new Runtime).module(define, name => { | |
if (name === "viewof canvas") return Inspector.into("#observablehq-eebaab54 .observablehq-viewof-canvas")(); | |
}); | |
</script> | |
</head> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment