This is a live demo from this library.
Quadtrees are data structures with many usages. You can for example use them to reduce collisions tests, as shown by this demo.
- White particle didn't a got collision test
- Yellow particles got a collision test
- Red particles got a collision test and result was positive (ie. collision with player)
Sprites ripped by Azu from Touhou Project : Mystical Chain
See it on GitHub for more informations.
It seems you're running this file from a local file system.
Cross origin requests may be supported only for protocol schemes on some browsers.
|Particles generation patterns|
|Linear (with inertie)|