Skip to content

Instantly share code, notes, and snippets.

@enjalot
Created July 19, 2020 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enjalot/167debd20b1444ee75059e48210e530c to your computer and use it in GitHub Desktop.
Save enjalot/167debd20b1444ee75059e48210e530c to your computer and use it in GitHub Desktop.
Coding with Doom Fire embed
license: mit
<!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