Looks sweet, how is it lit?
> For each blob all other points are tested
if you really mean "all other points", you could probably
optimize this for a large number of bubbles by sorting vertically
in n log(n) time ... so unfortunately no bubble sort :D (*groan*).
Then you only need to test points up to a maximum y distance. Of
course such information might already be available depending how
you generate your points in the first place.
Post a reply to this message
|