This program simulates how objects would orbit a central gravity well if the relationship between distance and force in Newton’s law of gravity is changed. Exponents other than -2 produce strange, but still stable orbits.
github repo (written in Processing)