Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Fractal explorer

Zoom into the Mandelbrot set and Julia sets, grow Koch, dragon and Hilbert curves and fractal plants, and watch the chaos game draw a fern.

Your browser cannot draw.

How to use

  1. Mandelbrot: click anywhere to zoom in there; Shift-click or Zoom out to go back. Try the famous places, and raise the detail when you zoom deep.
  2. Julia: pick a value of c, type one, or tick "Next tap picks a Julia set" in Mandelbrot mode and tap a point there.
  3. L-systems: choose a curve and add steps to watch it grow by repeating a simple rewriting rule.
  4. Chaos game: see how random jumps build a perfect triangle or a fern.
  5. Save picture downloads what you see as a PNG.

Keyboard and touch

+ / − on the pictureZoom in or out
Arrow keys on the pictureMove around
Tap or clickZoom in at that spot (Shift-click zooms out)

Tips

  • Black areas belong to the set; colours show how fast points escape. The edge holds endless detail and tiny copies of the whole set.
  • Julia sets for c inside the Mandelbrot set are connected; for c outside it they shatter into dust.
  • The Koch snowflake has an infinitely long edge around a finite area.
  • Fractal dimension measures how a shape fills space: a line is 1, a filled square 2, the Sierpinski triangle about 1.585.
  • Very deep zooms reach the limit of the computer's numbers (about 10¹³ times) and turn blocky.

About this explorer

Mandelbrot and Julia pictures use the escape-time method: z is repeatedly replaced by z² + c and each pixel is coloured by how many steps it takes to leave a circle of radius 16, smoothed with a logarithm so the colour bands blend. Points in the main heart-shaped region and the large circle are recognised directly to save time. Pictures are drawn in strips so the page stays responsive.

L-systems (Aristid Lindenmayer, 1968) replace letters by strings again and again; a "turtle" then draws F as a line and turns at + and −. The chaos game picks one of a few shrinking maps at random each step; Barnsley's fern uses four affine maps with fixed probabilities. Dimensions shown are the exact similarity dimensions, and the chaos game also measures one by box counting. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product