Related simulators
Continue with similar topics in this category — or all 85 in Math Visualization.
Bézier & de Casteljau
Drag control points; live recursive linear-interpolation scaffolding evaluates B(t).
Delaunay & Voronoi
Bowyer–Watson triangulation and dual Voronoi tessellation; click to add seeds, drag to move.
Linear Regression: OLS, Ridge, Lasso & R²
Click/drag scatter points; fit y = β₀ + β₁x with OLS, Ridge (L2 on slope), or Lasso (L1 on slope). Spike Δy on the largest |x| point to see outlier sensitivity; compare SSE and R².
K-Means Clustering (Lloyd)
Click to add points, choose k, randomize centroids, then step Lloyd iterations (assign to nearest centroid, update means). Optional Gaussian-mixture demo; watch within-cluster SSE decrease.
Gradient Descent (2D)
Level sets of f(x,y) and path (x,y) ← (x,y) − η∇f; bowl or elliptic well.
Toy 2-Layer MLP + Backprop (XOR / spiral)
Click-labeled 2D data; **tanh** hidden layer + **logistic** output trained by **full-batch** gradient descent on **binary cross-entropy**. Heatmap shows **P(class 1)** evolving across epoch blocks — watch the **0.5 decision contour** wrap XOR or untangle spirals.