Skip to content

KrishayB/RecursiveFractals

Repository files navigation

RecursiveFractals

About:

Different types of fractals are drawn using recursion and the StdDraw library. The constants in each file can be changed to get many more interesting shapes and variations for each.

Running the program:

  1. Clone the repository, download the code, or copy/paste it into a .java file.
  2. Choose one of the .java files (excluding the StdDraw.java) to run.

Gallery

Apollonian set

Apollonian gasket generated via recursive circle packing.


Fractal tree order 15

Fractal tree rendered with ORDER = 15.


Mandelbrot set

Standard Mandelbrot set; MandelbrotFast.java computes the same fractal with a quicker algorithm.


Julia set

Julia set with BLOCK = 4.


Dragon curve

Recursive Heighway dragon curve.


Sierpinski triangle

Sierpinski triangle generated through recursive subdivision.