Write one iteration step in GLSL. Complex numbers are vec2. The step runs up to the iteration limit; you can also reassign c between steps.
z current valuec pixel or Julia czp previous zn iteration indexp power sliderk parameter kt time (animates)P(z) z to the power pcmul(a,b)cdiv(a,b)csq(z)cpow(z,x) real powercpowc(a,b) complex powercexp clogcsin ccos ctancsinh ccoshconj(z) cinv(z)cabs(z) carg(z)abs(z) fold both axesTAU 2π
Snapshot
Gestures and keys
Drag
Pan
Scroll · pinch
Zoom around the pointer
Double-click
Zoom in 3× (Shift: zoom out)
Shift + drag · two-finger twist
Rotate the view
J
Open the Julia set for the point under the pointer, or leave Julia mode
←→↑↓ · +−
Pan · zoom
QE
Rotate
Z
Back to the previous view
R
Reset view
Space
Pause or play motion
X
Surprise me
O
Show the orbit of the point under the pointer
C · Shift+C
Next palette · random palette
P
Snapshot
H · F
Clean view · fullscreen
Deep zoom (down to 10−30) runs on the Mandelbrot set with power 2 and no warp, hybrid or Julia mode. It uses perturbation against a high-precision reference orbit. Other formulas stop near 105 because the GPU works in 32-bit floats.
Rendering…
This playground needs WebGL 2. Try a current version of Chrome, Edge, Firefox or Safari.