Lindenmayer

Lindemayer is a web app that renders fractal curves generated by L-systems. The server, written in Go, draws the curves by outputting SVG data. The UI is responsive and uses CSS Flex Box Layout, so it will not work in old browsers. The app allows you to customize the depth of recursion, stroke thickness, and stroke colour.

View the web app at http://lindenmayer.mitchellkember.com.

Usage

  1. go get github.com/mk12/lindemayer
  2. lindenmayer
  3. Visit http://localhost:8080.

Curves

  • Koch snowflake
  • Hilbert curve
  • Peano curve
  • Gosper flowsnake
  • Sierpinski arrowhead curve
  • Rings
  • Pythagoras tree
  • Fractal plant
  • Fractal willow
  • Dragon curve
  • Quadratic Koch island

Sources

I copied most L-system grammars from the following websites:

License

© 2015 Mitchell Kember

Lindenmayer is available under the MIT License; see LICENSE for details.

Share this project:

Updates