diff options
| author | brian cully <bjc@spork.org> | 2025-12-23 21:47:59 -0500 |
|---|---|---|
| committer | brian cully <bjc@spork.org> | 2025-12-23 21:47:59 -0500 |
| commit | fdd715f4e610ae68dcb5310c37cebfbf383b1a4c (patch) | |
| tree | ced540d95376ba015703eff141c1219fa66c8711 /site/index.html | |
| parent | d1bc29694219a3d3d34e6dcc696ce249c7540fcd (diff) | |
| download | automathon-fdd715f4e610ae68dcb5310c37cebfbf383b1a4c.tar.gz automathon-fdd715f4e610ae68dcb5310c37cebfbf383b1a4c.zip | |
js: move arena stuff to module
Diffstat (limited to 'site/index.html')
| -rw-r--r-- | site/index.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/site/index.html b/site/index.html index 665411b..ace176c 100644 --- a/site/index.html +++ b/site/index.html @@ -13,9 +13,12 @@ <div class='flex-col'> <section> <h2>arena</h2> - <canvas id='arena' width='300' height='300'> - oh no! no canvas support! - </canvas> + <x-arena> + <p>fps: <span id='fps'>n/a</span></p> + <canvas width='300' height='300'> + oh no! no canvas support! + </canvas> + </x-arena> <div class='controls'> <button id='tick'> @@ -49,7 +52,6 @@ <option>60</option> </select> </div> <!-- controls --> - fps: <span id='fps'>n/a</span> </section> <!-- arena --> <section> |
