Grid-based Collision in Flash

Here is a simple Flash/Actionscript toy providing a visual example of collision detection & 2D dynamics between N bodies using Grid-based neighbor search.

Click Build Simulation to start, and Show Checks to see grid and interactions.

Source code freely available on GitHub