Fixing Perlin noise - p5js #shorts

Subscribers:
6,370
Published on ● Video Link: https://www.youtube.com/watch?v=rEFGGQf9Mss



Duration: 0:48
401 views
20


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


2023-12-128: Translate and Rotate in p5.js: How to Code Generative Art
2023-12-117: Custom Shapes - Vertex and curveVertex in p5.js: How to Code Generative Art
2023-12-096: If - Else plus AND, OR, and NOT in p5.js: How to Code Generative Art
2023-12-075: For Loops and While Loops in p5.js: How to Code Generative Art
2023-12-064: Variables plus Math Shortcuts in p5.js: How to Code Generative Art
2023-12-053: Shapes plus Random function in p5.js: How to Code Generative Art
2023-12-042: Color in p5.js: How to Code Generative Art
2023-12-031: Getting Started with p5.js: How to Code Generative Art
2023-12-03How to Code Generative Art: Preview to the Course - p5.js
2023-11-30I'm on Patreon!
2023-11-21Fixing Perlin noise - p5js #shorts
2023-10-16Combining ml5 PoseNet and p5play to manipulate objects with my body - p5js
2023-10-10Replacing p5play Blocks with Custom Generative Blocks
2023-10-10Introducing p5play: a Physics and Game Engine for p5js - with coding example
2023-08-03How I made String Theory - Generative Art Homage to Jackson Pollock in p5.js
2023-05-14Debrief of Two More Gen Art fxhash Projects made in p5.js
2023-05-13Discussing Four of My Gen Art Projects on fxhash - made with p5.js
2023-04-29Animating the Drawing Process of Your Static Art in p5.js
2023-04-13Getting Started with fxhash params and fxlens using Visual Studio Code - full tutorial for artists
2023-04-08Adding Circular Flow to a Flow Field with Generative Artist Jeff Palmer - p5.js
2023-03-19Making a Static Flow Field in p5.js



Tags:
#shorts
perlin noise
p5js
flow field
perlin flow field