Related simulators
Continue with similar topics in this category — or all 85 in Math Visualization.
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.
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².
Mandelbrot Deep Zoom
Drag/wheel deep zoom into the Mandelbrot set with smooth continuous coloring and named landmarks.
Convex Hull (Graham & QuickHull)
Click to add points, drag to move; Graham scan with step playback or QuickHull divide-by-farthest; compare vertex sets.
PCA in 2D (principal components & 1D projection)
Click-built cloud: covariance eigenvectors as PC1/PC2 arrows from the mean, optional orthogonal drops to the PC1 line, and a bottom strip of PC1 scores — the standard rank-one projection coordinate.
Delaunay & Voronoi
Bowyer–Watson triangulation and dual Voronoi tessellation; click to add seeds, drag to move.