Fractal Cosmos
Generative art that combines several kinds of fractals in one picture.
What it does
A self-contained browser app that layers a smooth Mandelbrot set with recursive trees, Sierpinski triangles, nested hexagons and logarithmic spirals.
How it works
- RenderEscape-time iteration over complex numbers draws the Mandelbrot background.
- GrowRecursive functions draw the trees, triangles and hexagons on top.
- VaryA seeded random generator makes every composition reproducible.
- ExportPictures export as 2000 × 2500 PNG files, with no external libraries.
What I did
- Built it from scratch in plain JavaScript.
Built with
- JavaScript
- HTML5 Canvas
- Recursion
- Complex numbers