Skip to content

Commit

Permalink
tweak the density function
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Aug 4, 2024
1 parent f0090e2 commit 5de086c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shimmers/sketches/pendulum_sway.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
(let [limit 100
f (functions select-fn)]
(for [t (cs/range-series 0 (* limit eq/TAU)
(fn [t] (* 0.0225 (math/exp (* 0.003 t)))))]
(fn [t] (* 0.02 (math/exp (* 0.003 t)))))]
(gc/circle (tm/+ p (f r t params))
(+ 1.3 (* 0.7
(math/exp (* -0.001 t))
Expand Down

0 comments on commit 5de086c

Please sign in to comment.