-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrid.html
34 lines (28 loc) · 1012 Bytes
/
grid.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html>
<head>
<meta charset="utf-8">
<title>Rational Grid</title>
<link rel="stylesheet" href="./css/iteration.css" type="text/css">
<link rel="stylesheet" href="./css/iterate.css" type="text/css">
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.js"></script>
<script defer src="js/common/rle_path.js"></script>
<script defer src="js/common/math_helpers.js"></script>
<script defer src="js/common/util.js"></script>
<script defer src="js/common/tree.js"></script>
<script defer src="js/common/grid.js"></script>
<script>
let grid;
window.addEventListener('load', () => {
const canvas = document.getElementById('grid-vis');
grid = new GridController(canvas);
grid.update();
});
</script>
</head>
<body>
<canvas id="grid-vis" width="600" height="500">
Your browser does not support canvas.
</canvas>
</body>
</html>