Grasshopper

algorithmic modeling for Rhino

Hi,

I'm currently trying to understand all the symbols or the rules of how Rabbit works to create a hilbert curve.

I know that F means moving forward, ' -' and '+' is turn left and right etc.

But what does the '&' and 'C' and '^' do?

Are there more types of rules i can apply to it to make it do other types of stuff like maybe turn 45 degrees instead of 90?


Thanks.
Sherm.

Views: 1089

Replies to This Discussion


Hi Shermanoz,I just simply copy those sentences from" MorphCode.com" and I think maybe you can try to adjust the "angle" on the cell which with the rabbit icon

F move forward at distance L(Step Length) and draw a line
f move forward at distance L(Step Length) without drawing a line
+ turn left A(Default Angle) degrees
- turn right A(Default Angle) degrees
\ roll left A(Default Angle) degrees
/ roll right A(Default Angle) degrees
^ pitch up A(Default Angle) degrees
& pitch down A(Default Angle) degrees
| turn around 180 degrees
J insert point at this position
 multiply current length by dL(Length Scale)
! multiply current thickness by dT(Thickness Scale)
[ start a branch(push turtle state)
] end a branch(pop turtle state)
A/B/C/D.. placeholders, used to nest other symbols

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service