Randomize movement of points

I have a bunch of surfaces where I’m creating fins. Each fin is created by dividing the surface into points, and then moving those points randomly with the normal of the points. I am getting only one set of random movements. How do I make it so each fin on the surface is different? And also randomize each set of surfaces with their own random fins?

Lastly, is this the most efficient way of creating these fins?

Random Fins.gh (22.3 KB)

Hello
this is a classic problem, seed for each fins is the same, so you need a seed different for each fin.

Count is giving the number of branches (651 = 31 panel * (20+1)) so 651 seeds must be generated and given a structure similar to the datatree.
Then a random is done for each item of a branch (7 points) with a seed per branch.

Random Fins.gh (22.0 KB)

amazing thank you!

and what if i want each surface to have a different set of the same fins?

Once you’ve generated the fins, you can use the move component to translate the set of fins between each panel, which will effectively duplicate them.

@jsb.walker is one solution, but it seems it requires some scaling.
Or you generate 21 seeds that you duplicates (651/21) times.

I tried to exagerate displacement to be sure it works


Random Fins_LD2.gh (25.7 KB)

1 Like

But for me it is more beautiful to use some random noise. Here a tool from Nautilus; but they are lot of plugins with noises.


3 Likes