diff options
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(); } |
