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.
The app is currently hosted on Heroku: https://lindenmayer.herokuapp.com.
go get github.com/mk12/lindemayer
lindenmayer
- Visit http://localhost:8080.
- Koch snowflake
- Hilbert curve
- Peano curve
- Gosper flowsnake
- Sierpinski arrowhead curve
- Rings
- Pythagoras tree
- Fractal plant
- Fractal willow
- Dragon curve
- Quadratic Koch island
I copied most L-system grammars from the following websites:
- https://en.wikipedia.org/wiki/L-system
- http://mathworld.wolfram.com/LindenmayerSystem.html
- http://mathforum.org/advanced/robertd/lsys2d.html
- http://www.math.ubc.ca/~cass/courses/m308-03b/projects-03b/skinner/ex-generating.htm
© 2015 Mitchell Kember
Lindenmayer is available under the MIT License; see LICENSE for details.