Skip to content

Commit

Permalink
reverse rates on d2
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Jun 6, 2024
1 parent ad548b8 commit f3d4efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shimmers/sketches/stretchy_curves.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
(* 0.23 (math/sin (- (* w1 i) (* 0.35 t) p1))))
1.0))
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)))))))
d2 (+ 0.5 (* 0.4 (math/sin (+ (* 0.3 t)
(math/sin (+ (* eq/TAU pidx) (* 0.2 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 f3d4efa

Please sign in to comment.