Skip to content

Commit

Permalink
fix normal sampling to return data
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Nov 17, 2024
1 parent 790c099 commit 3278c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shimmers/sketches/cilia_phase.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@
:random
(repeatedly (* 1.1 density) #(dr/random))
:random-normal
(repeatedly (* 0.8 density)
#(dr/sample-between (dr/gaussian 0.5 0.15) 0 1))
(repeatedly density
(dr/sample-between #(dr/gaussian 0.5 0.15) 0 1))
:stripes
(let [{:keys [mul-prime div-prime]} pts]
(for [x (range -0.05 1.05 (/ 1.0 density))]
Expand Down

0 comments on commit 3278c12

Please sign in to comment.