diff options
| author | Brian Cully <bjc@spork.org> | 2025-12-22 15:50:09 -0500 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-12-22 15:50:09 -0500 |
| commit | e3d02f915d1b2140657cc86fc84f59862eeba848 (patch) | |
| tree | ed894df7010dd7d6fe93d9008feb42022dc9d6ae /site/main.mjs | |
| parent | 0dd46263395c1cc7a879b4305766776f00c21bb5 (diff) | |
| download | automathon-e3d02f915d1b2140657cc86fc84f59862eeba848.tar.gz automathon-e3d02f915d1b2140657cc86fc84f59862eeba848.zip | |
html: turn subpixel smoothing back on
Diffstat (limited to 'site/main.mjs')
| -rw-r--r-- | site/main.mjs | 3 |
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(); } |
