Kernel density estimation meets mode seeking — particles climb the density gradient to find cluster centers.
Mean-shift moves each point toward the weighted mean of nearby points (within bandwidth h). Points converge to density modes — the cluster centers. Larger bandwidth merges clusters; smaller bandwidth finds finer structure.