Source files: nbody.fut, nbody.js
N-body simulation with WebGPU
Drag and scroll with the mouse. On a phone, attach a mouse to your phone, then follow previous instructions. This uses the brute-force quadratic-time algorithm, so it will be quite slow for higher values of N.