Coloring close points

Posted by ooboo on Stack Overflow See other posts from Stack Overflow or by ooboo
Published on 2010-06-05T08:31:20Z Indexed on 2010/06/05 8:42 UTC
Read the original article Hit count: 227

Filed under:
|
|

I have a dense set of points in the plane. I want them colored so that points that are close to each other have the same color, and a different color if they're far away. For simplicity assume that there are, say, 5 different colors to choose from. Turns out I've not the slightest idea how to do that ..

I'm using Tkinter with Python, by the way

© Stack Overflow or respective owner

Related posts about python

Related posts about geometry