A real-time gravitational simulation of thousands of bodies running on the GPU. Every body attracts every other body each frame using Newton's law, giving a time complexity of N². I have the simulated bodies randomly distributed with initial velocities about a center point, to create cool galactic structures.
Try it!