From 0685f72d86e448742766f16f2e6bd8df00cfd8eb Mon Sep 17 00:00:00 2001 From: Charles Comstock Date: Wed, 17 Jan 2024 02:07:51 -0600 Subject: [PATCH] adjust the rotation rate both for sketch and spiral --- src/shimmers/sketches/hexpansion.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/shimmers/sketches/hexpansion.cljs b/src/shimmers/sketches/hexpansion.cljs index 66fb8b3e8..5a9057e81 100644 --- a/src/shimmers/sketches/hexpansion.cljs +++ b/src/shimmers/sketches/hexpansion.cljs @@ -39,8 +39,10 @@ (let [divs 12 r (+ (/ (* 0.4 (q/height)) (* 2 divs)) (* (/ 3 divs) (Math/sin (* 0.75 t)))) mmag (tm/mag (cq/rel-vec 0.5 0.5)) - rotation (* (/ eq/TAU 6) (Math/cos (+ (/ t 29) 0.5 (* tm/PHI (eq/cube (Math/sin (* 0.33 t))))))) - spiral-rot (* 0.66 Math/PI + rotation (* (/ eq/TAU 3) + (Math/cos (+ 1.7 (/ t 37) + (* 0.33 tm/PHI (eq/cube (Math/sin (+ 0.3 (/ t 17)))))))) + spiral-rot (* Math/PI (duty-cycle [0.07 0.1] [2.1 0.57 2.1] t) (Math/sin (+ (/ t 23) 0.1 (Math/cos (+ 0.5 (* 0.37 t)))))) duty-scale (duty-cycle [0.13 0.7] [tm/PHI 0.31 2.7] t)]