a) Download and install openFrameworks from this page :openFrameworks.
b) Generate project, and use this folder as your source (you may replace src).
a) On LSystem.cpp, line 5, set your starting axiom.
b) Set new rules below line 30 (see alphabet below). Each rule shold consist of a case, followed by a string and a break.
c) Change theta (angle of turn) on ofApp.cpp, line 18.
The Algorithmic Beauty of Nature or Wikipedia - L-system.
'f' or 'h': move forward and draw
'g': move backwards and draw
'F': move forward without drawing
'G': move backwards without drawing
'|': rotate 180 degrees
'-': turn left
'+': turn right
'u': rotate up
'd': rotate down
'l': roll left
'/': roll right
'[':push matrix
']': pop matrix