summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-12-22 15:50:09 -0500
committerBrian Cully <bjc@spork.org>2025-12-22 15:50:09 -0500
commite3d02f915d1b2140657cc86fc84f59862eeba848 (patch)
treeed894df7010dd7d6fe93d9008feb42022dc9d6ae
parent0dd46263395c1cc7a879b4305766776f00c21bb5 (diff)
downloadautomathon-e3d02f915d1b2140657cc86fc84f59862eeba848.tar.gz
automathon-e3d02f915d1b2140657cc86fc84f59862eeba848.zip
html: turn subpixel smoothing back on
-rw-r--r--site/main.mjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/site/main.mjs b/site/main.mjs
index 626a6b4..b5bd16c 100644
--- a/site/main.mjs
+++ b/site/main.mjs
@@ -102,7 +102,8 @@ function clamp(radius, x, y, width, height) {
function renderRobo(ctx, x, y) {
ctx.fillStyle = 'rgb(200 0 0)';
ctx.beginPath();
- ctx.arc(Math.floor(x), Math.floor(y), 25, 0, 2 * Math.PI);
+ //ctx.arc(Math.floor(x), Math.floor(y), 25, 0, 2 * Math.PI);
+ ctx.arc(x, y, 25, 0, 2 * Math.PI);
ctx.fill();
}