Home▸Algorithms & AI▸Marching Squares: Contours, Cases and Interpolation (2D isoline generator)

🧭 Marching Squares: Contours, Cases and Interpolation (2D isoline generator)

Interactive marching squares: metaballs, noise, gyroid and exact shapes sampled on a grid, the 16 cases and ambiguous cells, linear interpolation, contour length and convergence graphs, with numerical checks.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Marching Squares: Contours, Cases and Interpolation (2D isoline generator) ↗ Open standalone
⚙ Under the hood

Interactive marching squares: metaballs, noise, gyroid and exact shapes sampled on a grid, the 16 cases and ambiguous cells, linear interpolation, contour length and convergence graphs, with numerical checks.

Marching SquaresIsolineContourScalar FieldAlgorithms

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)