Create Random integer list


#1

hi guys,

i need to create random list of integers to randomize family parameter.


#2


#3

thanks.
could i seed this ?


#4

that is what happen when i need to randomize the material parameter, its not fully random.

any help?


#5

@Mahmoud.mokhtar

Try using “Math.Random” and “Map.RemapRange”:


#6

actually my formula taken from this topic using “Math.Random” and “Map.RemapRange” but its also gives same result.


#7

please i need help


#9

What about generating a true random list of items from a different source and jamming it into your script?
https://www.random.org/

Sure you can’t just hit “random random random” every time in your script. But I’m sure you can sort of mix in these random lists with some of your own random math to generate a pseudo uniform random list generator.

On the other hand, you could probably generate a random list using a python node. I believe Python does allow you to seed your randoms.