Clustering Simulator (2D): k-means, DBSCAN and Hierarchical Clustering with Silhouette Plot
Front view of the same Blender-made data cube with the same shared model: dots coloured by cluster, gem pins at the centres, assignment lines for k-means and crosses for DBSCAN noise, plus the silhouette plot of every point grouped by cluster. Same numerical checks.
Watch three clustering algorithms work on the same 3-feature point cloud. k-means (Lloyd with k-means++ seeding) alternates assigning points to the nearest centre and moving centres to the means while the inertia falls at every step, DBSCAN grows clusters from dense core points and marks the rest as noise, and agglomerative clustering merges the closest groups under single, complete, average or Ward linkage. Choose blobs, moons, a ring around a blob, stretched groups or a structureless cloud, then read inertia, silhouette and the adjusted Rand index against the true groups, with elbow and silhouette-versus-K charts. Built-in checks: monotone inertia, a fixed-point test, the Huygens identity, silhouette against a brute-force definition, the Rand index against pair counting, DBSCAN against union-find, the Ward cost identity and single linkage against a minimum spanning tree. Blender-made data cube stage.
Front view of the same Blender-made data cube with the same shared model: dots coloured by cluster, gem pins at the centres, assignment lines for k-means and crosses for DBSCAN noise, plus the silhouette plot of every point grouped by cluster. Same numerical checks.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install