Grasshopper

algorithmic modeling for Rhino

Hi guys

I just wanted to make a random rotation between two specific angles of 0 and 90, but dont want to select a range of numbers between them ! I just want to do my randomize between 0 OR 90 ! Now I can't use the DOMAIN because that gives me a lot of numbers between. Can anyone help me please ?

Thanks a lot.

Views: 506

Replies to This Discussion

(Range of Domain for Random = 0 - 1 as default. Change the seed if you want to vary the outcome...)

Thanks dear Joe .

That really helped me.

Ok,  I did exactley what you told and got the result. But why The 90 number changes to 5156 right after I connect the ROUND to ROTATION'S ANGLE ?

Attachments:

You'll need to change the value in Degrees (90) into Radians (0.5*Pi) (there's a component for this handily called "Radians (Rad)")

Thanks again.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service