xxxxxxxxxx
<head>
<meta charset="utf-8">
<!-- this page assembled quick & dirty style, not for maintaining -->
<title>d3 unconf badge</title>
<style>
html, body { margin: 0; padding: 0; }
body { overflow: hidden; }
</style>
<!-- d3 of course! -->
<script src="//d3js.org/d3.v4.min.js"></script>
<!-- random number generator, noise generator -->
<script src="/js/prng.js"></script>
<script src="/js/simplex-noise.js"></script>
<script>var exports = window; /* hack */</script>
<!-- hexagon code from https://www.redblobgames.com/grids/hexagons/implementation.html -->
<script src="https://www.redblobgames.com/grids/hexagons/codegen/output/lib-functions.js"></script>
</head>
<body>
<canvas width="1050" height="1500"/>
<script src="d3-unconf-badge.js"></script>
</body>
Modified http://www.redblobgames.com/grids/hexagons/codegen/output/lib-functions.js to a secure url
https://d3js.org/d3.v4.min.js
https://www.redblobgames.com/grids/hexagons/codegen/output/lib-functions.js