mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-09-27 22:45:25 +00:00
played around
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
|
||||
let deg_per_sec = 30;
|
||||
let time = 120;
|
||||
let time = 600;
|
||||
let fps = 60;
|
||||
|
||||
centerX = ctx.canvas.width / 2;
|
||||
@@ -34,8 +34,8 @@
|
||||
let colour1 = [137, 54, 255];
|
||||
let colour2 = [158, 255, 54];
|
||||
// Draw_nodal_expanding(5, 100000, rotation * 2 + 33000,0, colour1, colour2, 0.5, 2)
|
||||
Draw_nodal_expanding(5, 10000, rotation+33000, 0, colour1, colour2, 1, 2)
|
||||
|
||||
Draw_nodal_expanding(5, 10000, rotation, 0, colour1, colour2, 1, 2)
|
||||
console.log(rotation)
|
||||
}, 1000 / fps);
|
||||
rotation += deg_per_sec / fps; // was = j = angle, now = rotation
|
||||
currentFrame += 1; // was = i
|
||||
|
Reference in New Issue
Block a user