Grasshopper

algorithmic modeling for Rhino

Hi, 

Im working on a definition to come up with something like the first image Im posting down.  My approach was to use an attractor point so I can rotate the squares based on their distance to it, and when they go beyond a rotating angle then they move randomly on the x-y plane, just like the image.  

I think I almost have it, but somehow I would like to:

1) create a smoother rotation from the attractor as it moves up( as you can see the squares on the upper part are slightly rotated as well), and 

2) have the squares rotate randomly to clockwise and counterclockwise 

3) introduce more "randomness" to the movement of the squares that do move.

I would greatly appreciate any advise!  Thanks!!

Views: 1553

Attachments:

Replies to This Discussion

1) introduce a threshold for the distance (GraphMapper sets values outside it's graph range to 0.0. Mapping distances to negative numbers will pull them to 0.0 after GraphMapper)

2) create random numbers from positive to negative number

3) use a random factor on the translation vectors

Attachments:
Oh awesome!!! Thank you Hannes, that's exactly what I was looking for! Thank you very much

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service