Generate Dragon Curve
Visualize the Heighway dragon curve fractal with configurable iterations and colors.
What Is a Dragon Curve?
Pick an iteration count, hit Generate, and watch a folded-paper fractal unfold into the Heighway dragon — the same shape that tiles a plane and shows up on Jurassic Park chapter pages. Crank it to 18 and you get 262,144 segments forming a curve whose Hausdorff dimension is exactly 2, meaning it behaves more like a filled shape than a line. And everything runs in your browser. Nothing gets uploaded.