Skip to content

Commit

Permalink
fix the time jitter
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Apr 21, 2024
1 parent fd05f1b commit d659764
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shimmers/sketches/twelve_clocks.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
(doseq [hand (range 12)
step (range 7)
:let [hand-phase
(->> (eq/unit-sin (+ (* (+ 0.05 (* 0.1 (eq/unit-sin (+ (* 0.33 hand) (* tm/SQRT2 time))))) time)
(->> (eq/unit-sin (+ (* (+ 0.05 (* 0.1 (eq/unit-sin (+ (* 0.33 hand) (* tm/SQRT2 time)))))
(* eq/TAU (eq/unit-sin (/ time eq/TAU))))
(math/sin (/ time tm/SQRT3))))
(tm/smoothstep* 0.33 0.95)
(* 0.15 hand))
Expand Down

0 comments on commit d659764

Please sign in to comment.