ajnirp / lsystem

Playing around with L-systems https://en.wikipedia.org/wiki/L-system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Messing around with L-systems. A lot of the rendering code was taken from my iterative Koch curve implementation.

Build

  1. Ensure OpenGL and GLUT are installed.
  2. Run make

Run

Run ./lsystem. Hit <esc> to close the window. Use the left and right arrow keys to switch between L-systems.

Clean up

Run make clean

Screenshots

Fractal tree output Barnsley fern output Sierpinski triangle output Hexagonal gosper curve output

About

Playing around with L-systems https://en.wikipedia.org/wiki/L-system


Languages

Language:C++ 98.0%Language:Makefile 2.0%