Skip to content

Commit

Permalink
slow down stroke-weight changes and adjust for step
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Apr 20, 2024
1 parent 9d18371 commit 135d2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shimmers/sketches/twelve_clocks.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
(+ angle (* 2.5 time)
(* 0.3 step (eq/unit-sin time))
(Math/sin (+ angle (* 0.5 time)))))]
(q/stroke-weight (+ 1.5 (math/sin (+ angle (* 0.1 time)))))
(q/stroke-weight (+ 1.75 (* 1.25 (math/sin (+ angle (* -0.15 step) (* (/ 1 60) time))))))
(q/line a b)
(q/line b c)
(q/line c d)))
Expand Down

0 comments on commit 135d2e5

Please sign in to comment.