EAT ANiMation, duration is now number of bites. also fixxed timestamp

This commit is contained in:
Sam
2024-06-29 21:37:51 +12:00
parent ecd605e6e4
commit 8a6aa8beab
3 changed files with 23 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ centerY = ctx.canvas.height / 2;
ctx.imageSmoothingEnabled = false;
let deg_per_sec = 10;
let deg_per_sec = 60;
let targetFps = 60;
let frameDuration = 1000 / targetFps;