press space to spawn a planet, and if you want it to have some momentum already, hold an arrow key. you can spawn ~150 planets, if your computer can handle it ;). you can drag the star around the area too! planets do drift away from the star they are orbiting, and i have (accidentally) implemented that!
made in around 30 mins, there is another variable which i could implement which does some very strange stuff at different values... might use maths nonsense to double the number of possible planets and potentially reduce lag!!