Grasshopper
algorithmic modeling for Rhino
I have created a series of random numbers resulting in floating point numbers. These numbers are then converted to integer numbers (see image attached).
The question is:
How can I get a series of even integer numbers??
Tags:
MySpace Tweet Facebook Facebook
Views: 1323
Halve your domain i.e 5 to 15 and then Multiply the results by 2. You can right click on the Random component to specify Integers only
Yeah that was the solution I was thinking about: multiply by 2.
so simple and effective, thanks.
RSS
Welcome toGrasshopper
Sign In
by Parametric House 0 Comments 0 Likes
by June Lee 1 Comment 0 Likes
by June Lee 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by June Lee 0 Comments 0 Likes
© 2025 Created by Scott Davidson. Powered by
Badges | Report an Issue | Terms of Service
Please check your browser settings or contact your system administrator.