Generate Moore Curve
Visualize the Moore curve — a closed, space-filling variant of the Hilbert curve.
What Is the Moore Curve?
Pick an order from 1 to 7, hit generate, and watch a closed space-filling curve trace every cell of a 2ⁿ × 2ⁿ grid. The Moore curve is a cousin of the Hilbert curve that loops back on itself, so the start and end points join into a single continuous path — handy when you need a closed traversal of a square grid. And everything runs in your browser. Nothing gets uploaded.