aboutsummaryrefslogtreecommitdiffstats
path: root/site/index.html
diff options
context:
space:
mode:
authorbrian cully <bjc@spork.org>2025-12-29 11:39:38 -0500
committerbrian cully <bjc@spork.org>2025-12-29 11:39:38 -0500
commit8197bb1657d2f8ded4aec30ddff2b7df2a13a23a (patch)
tree38acbb85ea899319406b422d4264e807772c020a /site/index.html
parent51acf14143ed39302acadf5308e5bf4fe80f8179 (diff)
downloadpolyring-8197bb1657d2f8ded4aec30ddff2b7df2a13a23a.tar.gz
polyring-8197bb1657d2f8ded4aec30ddff2b7df2a13a23a.zip
add watch section and bench section
Diffstat (limited to 'site/index.html')
-rw-r--r--site/index.html17
1 files changed, 13 insertions, 4 deletions
diff --git a/site/index.html b/site/index.html
index 2d4c0e1..dd747c1 100644
--- a/site/index.html
+++ b/site/index.html
@@ -12,10 +12,19 @@
<p class='subst-alts'></p>
<p>benchmarking maximal convex polygon finding</p>
- <button>go</button>
- <span>fps: <span id='fps'>n/a</span></span>
- <br>
- <canvas width='500' height='500'></canvas>
+ <section class='watch'>
+ <h2>watch</h2>
+ <button>go</button>
+ <span>fps: <span class='fps'>n/a</span></span>
+ <br>
+ <canvas width='500' height='500'></canvas>
+ </section>
+
+ <section class='bench'>
+ <h2>bench</h2>
+ <input name='iters' value='1000'>
+ <button>bench</button>
+ </section>
<script src='./main.mjs' type='module'></script>