Task 6 generates a spirograph based on the orbits of 2 planets within the same system. At set time increments, a line is drawn between the positions of both planets and the code increments until 10 full orbits of the outermost planet has been completed. The result is then outputted as a spirograph. This task uses the function created in task 5 to determine the orbital angle of the planet at specific points in time to ensure the planets are both in the correct position before a line is drawn. Each time increment is equal to (Number of Orbits x Orbital period of outer planet)/ 1234.