Distributing noise in 3 dimensions using jit.gl.mesh

LSka's icon

Hello everybody,

Max Patch
Copy patch and select New From Clipboard in Max.

I'm trying to generate a 3-dimensional point cloud starting from jit.noise, but I can't get to "scale" the otuput of jit.noise (which goes from 0 to 1) to the vertex array requested by the jit.gl.mesh (which is signed normalized -1. - 1.)
In the example below, I was trying to use swiz inside jit.gen, but I don't know if that's the correct approach.

LSka's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I just found the [scale] operator in jit.gen...

Wesley Smith's icon

Yep. For remapping the range of values, scale is the best operator.

LSka's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here's a first attempt to give the cloud a less "cube-y" shape and a more interesting "evolving blob" likeness...

I believe something better can be done, if anyone wants to share their ideas, please welcome.