algorithmic modeling for Rhino
David
1. Is it expected behaviour that two different random components gives the same result?
I can only differentiate results by changing the seed value.
2. Im not sure if this is a bug or I am missing something essential.
I have to move a set of points in a random directions by a distance within controlled domain. I have created X and Y vectors with both positive and negative values while Vector XYZ gives only positive values - all elements go in (generally) one direction.
Is this also expected behaviour?
If so - how should I approach move in random directions?
Regards
Piotr
Tags:
It is not a bug. The values are not true random they are Pseudo random. The seed is what changes them. This is so that the reslts are repeatable if needed.
Here is how I get random vectors. I leave domain at default 0 -1 because with floating point between 0 and 1 every single possible direction is possible. Its the seeds that are important.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by