Lindenmayer System Explorer
The Interface
Line Length - length of each line segment, in pixels
Line Scalar - percentage by which the segments of each branch increase or decrease in length, expressed as a decimal
Line Width - width of each line segment, in pixels
Line Taper - percentage by which the segments of each branch increase or decrease in width, expressed as a decimal
Line Color - color of the lines, expressed in hexidecimal.
Angle - angle between segments in a line
Angle Increment - increase or decrease in angle in branches, expressed as +/- degrees
Iterations - number of times the ruleset is re-written, prior to drawing. Be careful; numbers above 6 can result in rulesets many millions of characters long.
Start Condition - The initial rule, from which the complete ruleset is created
Grammar - the replacement rules for the ruleset. Must always start with "F:"
Draw Speed - number of lines drawn per "frame"
Render button - begin or re-start the rendering process
Pause button - pause rendering
Clear button - stop the render and clear the board
Print button - output the render as a .png or .jpg image file which can be saved to your computer
Grammar
F : draw a new line segment
f : move forward without drawing
+ : increase the drawing angle
- : decrease the drawing angle
[ : begin a branch (must always be paired with a "]")
] : end branch (must always be paired with a "[")
! : reverse the current angle
Examples
These are a few starting values you can enter in order to see examples of what this tool can create. Copy and past them into the appropriate fields.
Reset to default pattern
Frost Pattern
Triple Frond
Sharing Your Creations
The patterns you create can be bookmarked and shared! Every time you click the "render" button the URL for this page is updated. Simply copy-and-paste the URL from your browser address bar and invite others to build on your work.
Articles and Tutorials
Drawing Lines
The Basics of Angles
How Rulesets Work
The Start Condition
My Lindenmayer Patterns collection on Flickr

Recent comments