Calculate density of particles around each particle?

   4369   2   0
User Avatar
Member
8 posts
Joined: March 2009
Offline
I've been trying to do this in various ways, but can't seem to get it to work.

I have a bunch of particles, and I want to be able to determine which particles has the most “neighbors”. I'll try to do a visual example, each smiley face is a particle in a particle cloud.

<-> <-> <->

is my particles were lined up like this along an axis, I would like these particles grouped. (wanted particles are angry).

<-> <-> :evil: :evil: :evil: <-> :evil:

since they all have two “neighbors”. This is a very simplified example, but you maybe getting the idea of what I'm after?

Anyway, my explanation skills aren't that good, but if anyone could point me in the right direction I would be mighty grateful.
User Avatar
Member
1634 posts
Joined: July 2005
Offline
I think the Proximity POP is what you're looking for.

Cheers!
steven
User Avatar
Member
8 posts
Joined: March 2009
Offline
stevenong
I think the Proximity POP is what you're looking for.

Cheers!
steven

Once again the answer is very simple, hah. You have to belive me when I say that I really do try to solve these questions myself, as well as search the forums for answers. But it seems my English vocabulary gets in the way. “Proximity” never crossed my mind :roll:

Anyway, thanks alot steven!
  • Quick Links