Skip to content

Commit

Permalink
ignore t param
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Oct 20, 2024
1 parent 7fc6d73 commit f3b75fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shimmers/sketches/loop_control.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

(defn random-equation []
(dr/weighted
[[(fn [c t] (* 0.5 (+ c 1))) 1.0]
[(fn [c t] (* 0.5 (math/exp (+ 1 c)))) 1.0]
[(fn [c t] (* 0.5 (math/pow 3 (+ 1 c)))) 1.0]
[[(fn [c _t] (* 0.5 (+ c 1))) 1.0]
[(fn [c _t] (* 0.5 (math/exp (+ 1 c)))) 1.0]
[(fn [c _t] (* 0.5 (math/pow 3 (+ 1 c)))) 1.0]
;; FIXME why is this reversing?
[(fn [c t] (+ 1.0 (* 0.5 (math/sin (+ t (* eq/TAU c)))))) 1.0]]))

Expand Down

0 comments on commit f3b75fb

Please sign in to comment.