The Mandelbrot set comes from one line of arithmetic: take a number c, start at zero, square and add c, again and again. Zoom into its edge as deep as you like, or click a point and watch its numbers either settle down or run away.

This article and its interactive demo were created with the help of generative AI and editorially reviewed.