Skip to content

Commit

Permalink
slightly reduce dampen effect
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Jul 31, 2024
1 parent 6c57a9f commit 7f305f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shimmers/sketches/designed_imperfections.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{:cols (/ width 6) :rows (/ height 6)})]
(let [pos (g/centroid box)
n (dr/noise-at-point seed 0.008 pos)
damp (/ 1.0 (Math/pow 1.006 (g/dist pos center)))]
damp (/ 1.0 (Math/pow 1.005 (g/dist pos center)))]
(gc/circle (tm/+ pos
(tm/+ (v/polar (* 10.0 damp) (* eq/TAU n))
(v/polar (* 20.0 (- 1.0 damp)) (g/heading (tm/- pos center)))))
Expand Down

0 comments on commit 7f305f8

Please sign in to comment.