Yes, sort of. Have you written something similar then? I'd love to see it.
The algorithm I used treats each blob as a circular field - when 2 or more blobs get close enough, the fields add up to (or beyond) a trigger value, after which I assign a colour based on the sum of the fields' strengths. I dug the idea out of Foley and Van Damme a long time ago... probably when most of the readers of this forum were still sperm.
Anyway, I'll provide the source when someone asks for it, by all means. I'm trying to get interactive here, man!
timns