L-Systems

Click inside the square! This is a demo of using a Lindenmayer system to draw patterns using a basic implementation of Logo. The pattern is drawn using a heuristic based upon a formula for X and Y movement. The formula is defined using the grammar shown below. The default value is the Dragon pattern!

X = Run the formula for X, Y = Run the formula for Y, F = Move forward by n steps, + = Turn right, - = Turn left