Graph Laplacian explorer

Click the canvas to place points from two categories, build a k-nearest-neighbor graph, and see where the Laplacian of the category indicator is nonzero.

Hover a point to read its value. Keys 1 and 2 switch category.