> fun.byter.lt
← toys / gravity

N-body gravity

Real inverse-square gravity between every body on screen. Click and drag to launch a new mass — the drag direction and length set its initial velocity.

bodies: 0

click+drag to spawn a body with velocity · release to launch · bodies merge on collision