Skip to content

Commit

Permalink
more simplification using tsin
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Nov 21, 2024
1 parent c2f6032 commit d9cf0bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shimmers/sketches/envelope_collapse.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
(let [tx (+ (tsin 0.05 t -0.1)
(eq/unit-sin (* 2 eq/TAU (+ x (* 0.9 t))))
x)
dtx (* 1.5 (math/sin (* eq/TAU (+ (* 0.23 t)
(* 1.75 x (math/sin (+ (* 0.1 x) (* 2 t))))))))]
dtx
(* 1.5 (tsin 0.23 t (* 0.5 x (tsin 1.25 t (+ 0.001 x)))))]
(+ (* (math/sin (* 1.5 eq/TAU (+ tx dtx)))
(math/sin
(* eq/TAU (+ (* 0.011 x)
Expand Down

0 comments on commit d9cf0bd

Please sign in to comment.