by jamesrom · 12y ago · 0 comments
1) building a Voronoi tessellation from the given points
2) at each mouse movement perform point-in-polygon queries on all polygons until found
3) rebuild Voronoi as data changes
or 1) at each mouse movement calculate distance-to-point for each point
2) select the shortestk-d trees sound closer to what you'd want to do cursor coordinates to scatter plot point lookups.