ControlsDescription
Click/Touch and drag
  • More time you drag, higher mass
  • Further you drag, higher speed
Shift while draggingMultiplies final mass by 50
A while draggingDivides final mass by 50
Z while draggingMultiplies final speed by 25
X while draggingDivides final speed by 5
C at any timeMakes all objects white
M at any timeEnables all objects to phase through one another
S at any timeCollisions lead to the smaller object getting partly absorbed
B at any timeCollisions with the walls are disabled
Enter at any timeDraws trails on all objects
Spacebar at any timePauses the game
Additionally you can go into the console and use this function to create a particle of your own (by opening the console and pasting the below in):
createParticleWithColour(mass, xpos, ypos, xspeed, yspeed, hex_colour)
For example: createParticleWithColour(0.1, 200, 350, 0, 2.5, '#c0392b') The mass determines the radius by assuming mass is equal to the volume, and then using the volume of the sphere to get the radius. Otherwise all the units are arbitrary and should be determined by playing around a bit.
Presets
5 bodies orbiting a star
Binary star system