Home▸GIS & Geoinformatics▸Spatial Interpolation & Kriging (2D)

Spatial Interpolation & Kriging (2D)

A plain 2D Canvas kriging lab: solve the ordinary-kriging linear system live from scattered samples and compare it against IDW and nearest-neighbour interpolation.

GIS & Geoinformatics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-spatial-interpolation ↗ Open standalone

This 2D companion runs the same ordinary-kriging linear system as the 3D version — an exponential variogram γ(h) = C₀ + C(1 − e^{−h/a}), solved once per change and evaluated as a closed-form weighted sum — but draws the result as a flat, easy-to-read Canvas heatmap instead of a shaded 3D scene, with IDW and nearest-neighbour available for direct comparison.

⚙ Under the hood

2D Canvas kriging lab: solves the (n+1)×(n+1) ordinary-kriging system live and compares it against IDW and nearest-neighbour on the same scattered samples.

krigingvariogramspatial interpolationgeostatisticsidw

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

What did you find?

Add reproduction steps (optional)