Fixing Perlin noise - p5js #shorts
Channel:
Subscribers:
6,370
Published on ● Video Link: https://www.youtube.com/watch?v=rEFGGQf9Mss
Perlin noise in p5js is not great for flow fields and color picking. Fix it with this:
n = map (n,0.3,0.7,0,1)
if n less than 0 { n++}
if n more than 1 {n- -}
#shorts
Join my Discord: https://discord.gg/FSW6zzU
Follow me on Twitter: https://twitter.com/SteveMakerspace
Other Videos By Steve's Makerspace
Tags:
#shorts
perlin noise
p5js
flow field
perlin flow field