Skip to content

Commit

Permalink
muck with distance rates
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Jun 4, 2024
1 parent 053399b commit 2204e35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shimmers/sketches/stretch_curves.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
(* 0.005 t)
(* 0.23 (math/sin (- (* w1 i) (* 0.35 t) p1))))
1.0))
d1 (+ 0.05 (* 0.25 (eq/unit-sin (- t pidx))))
d2 (+ 0.5 (* 0.4 (math/sin (+ (* 0.3 t)
(math/sin (+ (* eq/TAU pidx) (* 0.8 t)))))))
d1 (+ 0.05 (* 0.25 (eq/unit-sin (- (* 0.7 t) pidx))))
d2 (+ 0.5 (* 0.4 (math/sin (+ (* 0.4 t)
(math/sin (+ (* eq/TAU pidx) (* 0.3 t)))))))
[px py] (g/point-at outline a)
[qx qy] (g/point-at outline b)
[rx ry] (tm/mix center (g/point-at outline (sm/mix-mod a b d1)) d2)
Expand Down

0 comments on commit 2204e35

Please sign in to comment.