var changes

This commit is contained in:
Sam 2022-10-09 16:35:54 +13:00
parent c8783a1bb4
commit 1398e866c3
4 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@
render();
render_clear();
Draw_Spiral_Pattern(5, 200, rotation, centerX, centerY, 'red')
Draw_Spiral_Pattern(3, 200, rotation, centerX, centerY, 'red')
}, 1000 / fps);
rotation += deg_per_sec / fps; // was = j = angle, now = rotation

View File

@ -33,8 +33,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, 0, colour1, colour2, 1, 2)
Draw_nodal_expanding(5, 100000, rotation * 2 + 33000,0, colour1, colour2, 0.5, 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

View File

@ -22,7 +22,7 @@
rotation = 0; //was = j = angle
currentFrame = 0; //was = i
let depth = 20 //custom to npoly twist
let depth = 80 //custom to npoly twist
function render() {
if (currentFrame < time / (1 / fps)) {
@ -33,7 +33,7 @@
colour2 = [255, 0, 0];
colour1 = [0, 0, 0];
DrawPolyTwistColour_angle(3,400,-90,rotation/20,colour1, colour2)
DrawPolyTwistColour_angle(8,400,-90,rotation/10,colour1, colour2)
// DrawPolyTwist_angle(15,400,-90,rotation/20,"red")
// DrawPolyTwistColour_width(4,400,-45,rotation/4,colour1,colour2)
// DrawPolyTwist_width(10,400,-90,rotation/20,"red")

BIN
notan.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB