How do I make p5 js noise not repeat it’s self? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

How do I make p5 js noise not repeat it’s self?

3rd Feb 2021, 5:30 PM
VOID
VOID - avatar
2 Respuestas
+ 1
if you're using Perlin noise it should be different every time you compile it. Remember that Perlin noise works on infinite 1D, 2D and 3D spaces. So you can call noise(x,y,z) at different coords and it will always return a different value between 0 and 1.
26th Feb 2021, 10:41 PM
Diego de la Fuente Curaqueo
Diego de la Fuente Curaqueo - avatar
+ 1
got it, thanks
6th Mar 2021, 9:47 PM
VOID
VOID - avatar