summaryrefslogtreecommitdiff
path: root/templates/canvas.html
diff options
context:
space:
mode:
authorAlexander Hunt <me@liz.coffee>2026-06-21 12:43:31 -0700
committerAlexander Hunt <me@liz.coffee>2026-06-21 12:43:31 -0700
commitcfc0d34a584254a9ed76620951c810771aff6f3b (patch)
tree7fba034f7347ce0003e7a3a56adcaf862c834907 /templates/canvas.html
parentfb653292612eddca5b088ed88466c546d1597107 (diff)
downloadpenguins.lan-cfc0d34a584254a9ed76620951c810771aff6f3b.tar.gz
penguins.lan-cfc0d34a584254a9ed76620951c810771aff6f3b.zip
STUFF
Diffstat (limited to 'templates/canvas.html')
-rw-r--r--templates/canvas.html22
1 files changed, 0 insertions, 22 deletions
diff --git a/templates/canvas.html b/templates/canvas.html
deleted file mode 100644
index 84e964d..0000000
--- a/templates/canvas.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{{ define "content" }}
-<h2>~place</h2>
-<p>{{ .Canvas.Rows }}×{{ .Canvas.Cols }}, one pixel at a time. pick a color, click a cell. be nice to your fellow waddlers &lt;3</p>
-
-<div id="palette" class="palette"></div>
-
-<div class="canvas-wrap">
- <canvas id="canvas" width="{{ .Canvas.Cols }}" height="{{ .Canvas.Rows }}"></canvas>
-</div>
-<p id="cooldown" class="muted"></p>
-
-<script>
-window.CANVAS = {
- rows: {{ .Canvas.Rows }},
- cols: {{ .Canvas.Cols }},
- scale: {{ .Canvas.Scale }},
- cooldownMs: {{ .Canvas.CooldownMs }},
- palette: [{{ range $i, $c := .Canvas.Palette }}{{ if $i }}, {{ end }}"{{ $c }}"{{ end }}]
-};
-</script>
-<script src="/static/js/canvas.js"></script>
-{{ end }}