Examples /

Newton basins

Three roots divide the complex plane into infinitely folded regions of attraction.

Initializing WebGPUwgpu-kit 2.2.0

Move to pan the complex plane. Zoom into the borders between the three roots.

How it works

Each pixel applies Newton’s method to z³ − 1. The converged root selects its color; the number of iterations controls the banding. The intricate boundaries arise from convergence, not from a painted texture.

Read the related guide →

Search concepts, APIs, and examples