Up to today, I think there is no direct implementation or 'component' in GH of the Perlin Noise function. I wonder if anyone has tryed to program it via script or clusters. Anyway, it might be a nice further addition to GH.
in the Grasshopper scripting on RhinoCommon here at McNeel Europe I teach to program a component that does this, in C# and Vb.Net. Grasshopper contains a 1D Perlin noise function (similar to sines summations), but this functionality cannot be directly extended to more dimensions.
I am attaching this additional assembly that forms smooth Perlin noise and Simlex noise, two very well-known smooth noise functions studied by Ken Perlin. Inputs are:
- a point pt: the location to sample
- a number (double) t: the "location" in time
- a scale (number): a multiplier to change the scale of the values passed by pt and t
To install this component:
- download PerlinSimplexNoise.gha to your desktop
- right click the file and choose "Unblock" (might not be necessary, but please do it)
- from the Grasshopper interface, choose File -> Special folders -> Components Folder.
- move PerlinSimplexNoise.gha to that folder (ends with "\Libraries")
- restart Rhino. You'll find the components in the Math tab!
I'm not sure if there are any atm, but they should add 4D procedurals to the RDK. If you are going to render an animation, you'd like the waves in the water to move.