From 66de2a90165568043dd9ecebfc111f88a5cf6f55 Mon Sep 17 00:00:00 2001
From: Sam <samkleinhanss98@gmail.com>
Date: Fri, 10 Jun 2022 11:57:14 +1200
Subject: [PATCH] played around

---
 Catalogue/floral inverse animation.html |  2 +-
 Catalogue/nodal expanding.html          |  6 +++---
 Catalogue/npoly twist.html              | 10 +++++-----
 Catalogue/phyllotaxis.html              |  5 +++--
 4 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/Catalogue/floral inverse animation.html b/Catalogue/floral inverse animation.html
index 9b34d03..c58c2e0 100644
--- a/Catalogue/floral inverse animation.html	
+++ b/Catalogue/floral inverse animation.html	
@@ -28,7 +28,7 @@
           render();
           render_clear();
 
-          Draw_Spiral_Pattern(6, 200, rotation, centerX, centerY, 'red')
+          Draw_Spiral_Pattern(5, 200, rotation, centerX, centerY, 'red')
 
         }, 1000 / fps);
         rotation += deg_per_sec / fps; // was = j = angle, now = rotation
diff --git a/Catalogue/nodal expanding.html b/Catalogue/nodal expanding.html
index 36d9595..88cca89 100644
--- a/Catalogue/nodal expanding.html	
+++ b/Catalogue/nodal expanding.html	
@@ -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
diff --git a/Catalogue/npoly twist.html b/Catalogue/npoly twist.html
index bde6e3a..4c1e5e3 100644
--- a/Catalogue/npoly twist.html	
+++ b/Catalogue/npoly twist.html	
@@ -12,7 +12,7 @@
     ctx.canvas.width = window.innerWidth;
     ctx.canvas.height = window.innerHeight;
 
-    let deg_per_sec = 30;
+    let deg_per_sec = 45;
     let time = 120;
     let fps = 60;
 
@@ -22,7 +22,7 @@
     rotation = 0; //was = j = angle
     currentFrame = 0; //was = i
 
-    let depth = 300 //custom to npoly twist
+    let depth = 20 //custom to npoly twist
     
     function render() {
       if (currentFrame < time / (1 / fps)) {
@@ -30,10 +30,10 @@
           render();
           render_clear();
           
-          colour1 = [255, 0, 0];
-          colour2 = [0, 0, 0];
+          colour2 = [255, 0, 0];
+          colour1 = [0, 0, 0];
 
-          DrawPolyTwistColour_angle(15,400,-90,rotation/20,colour1, colour2)
+          DrawPolyTwistColour_angle(3,400,-90,rotation/20,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")
diff --git a/Catalogue/phyllotaxis.html b/Catalogue/phyllotaxis.html
index 7e78cd3..457e0d1 100644
--- a/Catalogue/phyllotaxis.html
+++ b/Catalogue/phyllotaxis.html
@@ -13,7 +13,7 @@
 
 
 
-    let deg_per_sec = 30;
+    let deg_per_sec = 30/5000;
     let time = 120;
     let fps = 60;
 
@@ -31,7 +31,8 @@
           render();
           render_clear();
 
-          Draw_Phyllotaxis(rotation / 5000 + 1);
+          Draw_Phyllotaxis(rotation + 3.1);
+          console.log(rotation + 3.1)
           // Draw_Phyllotaxis(rotation/5000);
 
           // Draw_center(); //Debugging