Hello,
I have been using the CodePen https://codepen.io/vcomics/pen/RwQgXzv to make a perlin noise shape.
I have chosen some parameters that created two different looking perlin noise shapes. What I would like to do is make it so that every time someone loads the home page with the threejs on it , you get one or the other shapes. I want an array because I may make more shapes and will want to add them to the choices. My problem is I don’t know how to code a random array with these parameters. Anyone know how???
Here’s the parameters I have made.
shader: {
time: 1.00,
u_noise: 0.74,
decay: 0.46,
turb: 0.10,
scale: 5.0,
waves: 10.00,
size: 1.0,
displ: 0.0,
broken: true,
invert: true,
Color: 0,
complex: 0.1,
shader: {time: 0.12,
u_noise: 1.00,
decay: 1.00,
turb: 0.23,
scale: 3.78,
waves: 2.20,
size: 1.0,
displ: 0.0,
broken: true,
invert: true,
color: 0,
complex: 0.1,