Error Propagation & Uncertainty (2D)
2D Canvas histogram lab: draws Monte Carlo samples of z = f(x,y) and overlays the analytical first-order error-propagation Gaussian so you can see exactly when they agree and when nonlinearity makes them diverge.
This 2D companion draws the same Monte Carlo samples and the same first-order analytical formula as the 3D version, but renders the histogram with plain Canvas 2D drawing instead of a WebGL shader: pick a formula z = f(x,y) from the dropdown, set the mean and σ for x and y, and watch the red analytical Gaussian curve and the pink sample histogram either sit on top of each other (linear formulas) or visibly pull apart (nonlinear ones) as the dashed blue line tracks the Monte Carlo mean and the stats panel reports the relative gap between the two methods.
2D Canvas histogram lab: draws Monte Carlo samples of z = f(x,y) and overlays the analytical first-order error-propagation Gaussian so you can see exactly when they agree and when nonlinearity makes them diverge.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install