My project was originally intended to make the bottom pieces perform a circular motion. However, it did not work out with only the one servo and I decided to add a ball rolling on a flat, semi-curved surface. The final motion of the device is somewhat inconsistent and random even though the output to the servo is a consistent loop. This occurs because of the shape and the bumps of the paper on top. In the end, it looks somewhat like a fried egg with the ball as the yolk. I suppose it could be the motion of an egg on a frying pan as you gently move it around.

Here’s my code:

#include 

Servo s;

void setup() {
   s.attach(4);
   s.write(0);
}

void loop() {
   s.write(180);
   delay(2500);
   s.write(90);
   delay(1750);
}