From e3d02f915d1b2140657cc86fc84f59862eeba848 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 22 Dec 2025 15:50:09 -0500 Subject: html: turn subpixel smoothing back on --- site/main.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'site') 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(); } -- cgit v1.3