Earth and Venus orbit pattern let venus = 225; // 225 Earth days let earth = 365.26; let m= venus/earth; // m = 0.615999561955867 theta+=1; // Earth's movement theta1+=(1/m); // Venus moves at a different rate (faster)