Koch Fractal is a simple algorithm which produces a snowflake from a triangle.
Koch Fractal is a simple algorithm which produces snowflake from a triangle. The concept behind this, is to break a line into two while leaving one third of the space between them where we fit two more lines forming an equilateral triangle without the base. This process is, then repeated to all lines again and again!
# In terminal do:
$ git clone https://github.com/TralahM/KochFractal.git
$ cd KochFractal
# In terminal do:
$ make
# In terminal do:
$ g++ main.cpp -o kochfractal -lSDL2
$ ./kochfractal