2D Branching Structures with RABBIT

You need RABBIT 0.3 to run the definitions

The definitions show how to create 2D Branching Structures using RABBIT.
More about Branching Structures: http://algorithmicbotany.org/papers/abop/abop-ch1.pdf

The meanings of the symbols:

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


This post is tagged: , , , ,

4 Responses

  1. Trebor.Pantocrator 5:25 am on April 23rd, 2012

    Hello MORPHOCODE!

    Is there a symbol to express the angle scale? It would be very useful. Thanks (:

  2. Trebor.Pantocrator 5:26 am on April 23rd, 2012

    Hello MORPHOCODE!

    Is there a symbol to express the angle scale? It would be very useful. Thanks a lot(:

  3. morphocode 8:37 am on April 23rd, 2012

    Hi there,

    no, in the current version there’s no symbol to control the angle scale. This is something we plan to add in the next releases.

    Greetings

  4. Alex Kulay 10:18 am on July 28th, 2012

    Good day!
    Help please, how to write and build with the help of Rabbit a three-dimensional bush-like structure
    n=7, δ=22.5
    ω : A
    p1 : A → [&FL!A]/////’[&FL!A]///////’[&FL!A]
    p2 : F → S ///// F
    p3 : S → F L
    p4 : L → [’’’∧∧{-f+f+f-|-f+f+f}]

Leave a Reply