Pick random points from lists

I have lists of points along with curves.

How can I pick one random point from each list randomly?
Something like that, so I can create a new cure base on those points.
image

I thing we need a random list first. But I think my random list is not RRANDOM enough.
It can tell the pattern.

1 Like

Hi,
you can use RandomList.AsIntegers from Clockwork package to create a random list of indices and then pick points according to those indices.
But pay attention to the correct lacing and list levels :wink:

RandomPoints

You could try Manage.RandomizeOrder from LunchBox package and connect an integer slider to the seed input choose between different random options, then get the first n amounts

List.Shuffle would work too.

Personally, if you want random than likely you don’t want to limit yourself to the curves already in use - try Curve.PointAtParameter and Math.RandomList nodes.

1 Like