Skip to content

Instantly share code, notes, and snippets.

@heuristicus
Created August 24, 2011 14:27
Show Gist options
  • Select an option

  • Save heuristicus/1168184 to your computer and use it in GitHub Desktop.

Select an option

Save heuristicus/1168184 to your computer and use it in GitHub Desktop.
De sitter sim
A de Sitter universe is one where there is no matter or radiation, only a cosmological constant.
create particles which are affected by nothing but each others' gravity, and then let the particles move.
give particles an initial velocity, and then run the system.
Could be a nice little toy which does some quite cool stuff. Also might be a nice exercise in optimisation, since it will probably be crazily inefficient to calculate the mutual gravity of all the particles in the system once you go beyond a relatively small number.
See RRC's comment in http://www.reddit.com/r/askscience/comments/jsmwy/why_do_objects_in_space_orbit_in_the_same_plane/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment