Home > Art, Problem, Projects/Experiments, Python > Python and Lindenmayer System – P2

## Python and Lindenmayer System – P2

Learning : Lindenmayer System P2
Subject: Drawing with python using L-System

In the first part of Lindenmayer System L-System post (Click to Read) we had wrote two functions: one to generate the pattern based on the variables and roles, and one to draw lines and rotate based on the pattern we have.

In this part I will post images of what Art we can generate from L-System
the codes will be the L-system that generate the patterns, so the code will include: the Rules, Angle (Right, Left) Iteration and Starting Variable.

 L-System: Koch Curve L-System: Minkowski Sausage L-System: … but here the Iteration is: 3 L-System: Again … but here the Iteration is: 3 L-System: Square Sierpinski L-System: Sierpinski Arrowhead. L-system: Dragon Curve L-System: Koch Snowflake L-System: L-System:

The possibilities to generate the putters and therefore drawing the output is endless, any slightly changes in the iterations or rotation (+ -) angles will take all output to a new levels. In the coming post, I will use the L-system to generate fractal tree and see what we can get from there.

To Download my Python code (.py) files Click-Here

Follow me on Twitter..

1. No comments yet.
1. November 5, 2019 at 8:33 am