top of page

Thinking Particle Stacking

As you can see from the video this techniques doesn't involve any complex formulas, just a battle between two forces (Repel,attract) while changing the size depending on the underneath color. I did a small trick here to make the simulation faster where I forced the color check to occur only every five frames instead of everyone. And forces only happen in a certain range so each particle will only interact with a couple of its neighbors in range.

Regards Alaa Al Nahlawi

23 views0 comments

Recent Posts

See All


bottom of page