i = sin(t) r = cos(t) z(t) is i + r t = time t2 = time * pi o1 = Original x-position of the outer ball o2 = Original y-position of the outer ball a = current x-position of the inner ball b = current y-position of the inner ball c = current x-position of the outer ball d = current y-position of the outer ball Will loop foreven until x and y position are at o1 and o2
If you copy this project, please give me credit. Very cool music: https://www.youtube.com/watch?v=4JZ-o3iAJv4