Final 2D version of the N-Body simulation using the Barnes-Hut algorithm. The blue lines show the acceleration vector times 25. The grey rectangles represent the tree structure of the particles in memory. Click to reset the sim with random particles. Runs better in Google Chrome or a Firefox 4.0 beta.