assign 3 specific values to radiusPP


#1

hi! i need a little help with nParticles.

i would like to assign 3 specific values to radius of nParticle.
for example values 1,2,3. it will only assign these 3 values randomly to nParticle radius. no decimal values. so my particles will only choose 3 values for its radius.

thanks for the help in advance.


#2

Maybe this will help you.

ceil(rand(0,3));