Fractal Generator

Interactive simulation — adjust parameters and watch the visualization update in real time.

How it works

Explore **Mandelbrot** and **Julia** sets via escape-time iteration **z ← z² + c** (Mandelbrot: start at **z = 0** and vary **c**; Julia: fix **c** and vary **zā‚€**). **Pan** with the mouse, **zoom** with the wheel. **Koch snowflake** is a classic self-similar curve built by replacing each segment.

Key equations

Mandelbrot: zā‚€ = 0, Ā  zā‚™ā‚Šā‚ = zₙ² + c Ā  (c scans the plane)
Julia: c fixed, Ā  zā‚€ = pixel, Ā  zā‚™ā‚Šā‚ = zₙ² + c