Skip to main content
Preparing workspace

Fractal Generator

Make fractals online: click into the Mandelbrot or Julia set to zoom up to 1,000,000x, or draw a Sierpinski triangle, Koch snowflake or fern. Save as PNG.

Still loading. If the tool doesn’t appear, reload this page.

About this tool

Fractal Generator

Interactive real-time fractal generator exploring Mandelbrot, Julia sets, Koch Snowflake, Sierpinski Triangle, and Barnsley Fern with deep zoom controls.

This fractal generator draws five classic fractals in your browser: the Mandelbrot and Julia sets (escape-time iteration of z → z² + c), the Sierpinski triangle, the Koch snowflake and the Barnsley fern. Click the Mandelbrot or Julia set to zoom in 2x, as deep as 1,000,000x, adjust Iteration Depth (20–500), then save a PNG.

How to use Fractal Generator

  1. Choose one of the five buttons under Fractal Type — Mandelbrot Set, Julia Set, Sierpinski Triangle, Koch Snowflake or Barnsley Fern — and the card below names that fractal's formula, such as zₙ₊₁ = zₙ² + c.

  2. Click or tap the Mandelbrot or Julia image to zoom 2x into that point (Shift-click zooms out, arrow keys pan), or use Zoom In and Zoom Out; raise Iteration Depth (20 to 500) as you go deeper so the edge stays detailed.

  3. Pick Teal, Fire or Neon under Color Palette, then press Download PNG to save the 480x360 image; Reset returns to the Mandelbrot Set at depth 60, 1x zoom and the Teal palette.

Why use Fractal Generator

  • The rule is shown with the picture

    Each fractal is labelled with its generating formula and a one-line description, so the image and the maths stay connected.

  • Two different families side by side

    Escape-time sets and iterated function systems are both included, which makes the difference between the two construction methods obvious.

  • One slider drives everything

    Iteration depth controls escape iterations, chaos-game point counts and recursion levels alike, so a single control shows convergence across all five.

  • Click to explore, then save

    Click-to-zoom with keyboard panning turns the Mandelbrot and Julia sets into something you can explore, and Download PNG saves exactly the view you found.

Common use cases

  • Explaining self-similarity in a maths lesson by sliding iteration depth from 20 upward and watching the Koch snowflake grow a new generation of spikes
  • Showing that the Barnsley fern is not drawn leaf by leaf but plotted point by point from four weighted affine maps, one of which is picked only 1% of the time
  • Getting a quick, correct picture of the Mandelbrot boundary for a slide or worksheet without installing plotting software

Frequently asked questions

How do I make a fractal online?

Choose a Fractal Type, set Iteration Depth and a Color Palette, and the image draws straight away. For the Mandelbrot or Julia set, click the area you want to see in more detail — each click centres there and zooms 2x — then press Download PNG to keep it.

Link to answer
How far can I zoom into the Mandelbrot set?

Up to 1,000,000x. Each click doubles the zoom on the point you clicked, and the centre coordinates are shown under the image. At high zoom, raise Iteration Depth (up to 500), because points near the boundary take more iterations to escape and otherwise turn into flat colour.

Link to answer
Which fractals can this generate?

Five: the Mandelbrot set, a Julia set, the Sierpinski triangle, the Koch snowflake and the Barnsley fern. The Julia set uses the fixed constant C = -0.7 + 0.27015i, a commonly used constant that gives a spiralling, lace-like Julia set.

Link to answer
What does the iteration depth slider change?

It runs from 20 to 500 and means something slightly different per fractal: for Mandelbrot and Julia it is the escape-iteration cap, for Sierpinski and the fern it multiplies the number of plotted points (150 and 200 points per unit respectively), and for Koch it sets the recursion level.

Link to answer
How is the Barnsley fern actually drawn?

By repeatedly applying one of four affine transformations chosen at random with fixed probabilities — roughly 1% for the stem map, 85% for the main frond, and the remainder split between the two side leaflets. Each application produces one point, and the fern shape emerges from tens of thousands of them (200 per unit of iteration depth), never from a drawn outline.

Link to answer
Why does the Koch snowflake stop getting more detailed?

Recursion is capped at a small number of levels so the render stays instant — past that point each extra generation quadruples the segment count for detail thinner than a pixel on the 480x360 canvas. Mathematically the boundary is infinite in length while enclosing a finite area.

Link to answer