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
go get github.com/mk12/lindemayerlindenmayer- 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:
- 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
License
© 2015 Mitchell Kember
Lindenmayer is available under the MIT License; see LICENSE for details.
Log in or sign up for Devpost to join the conversation.