Home▸Machine Learning & Neural Networks▸Clustering Simulator: k-means, DBSCAN and Hierarchical Linkage in a 3D Data Cube

🧮 Clustering Simulator: k-means, DBSCAN and Hierarchical Linkage in a 3D Data Cube

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.

Machine Learning & Neural Networks3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Clustering Simulator: k-means, DBSCAN and Hierarchical Linkage in a 3D Data Cube ↗ Open standalone

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.

⚙ Under the hood

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.

ClusteringK-MeansDBSCANHierarchical ClusteringSilhouette ScoreUnsupervised LearningMachine Learning

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)