Shogo Oshima

Web Developer

Sketches
GitHub X

#197Scatter Cluster

A procedural scatter of ~300 points runs a live K-means loop — points are assigned to their nearest centroid, centroids drift to their members’ mean, and points contract toward and recolour by their cluster — so the cloud visibly resolves into K colour-coded clusters marked by rings before re-seeding; scroll changes K and pressing adds points under the cursor.