A dragon curve is a well-known recursively defined curve, similar in vein to the von Koch snowflake.
It can be formed by paper-folding methods and can be written as a Lindenmayer system with
- initial string FX,
- string rewriting rules
- X X+YF+,
- Y -FX-Y,
- angle 90°.