     int rightIndex = i;
     int leftIndex = wrapAround(i - 10); // This is because the strips aren't installed in the same place
     boolean turnedOn = false;
-    for(int j = 0; j < (halfWidth * 2 + 1); j++)
+    for(int j = 0; j < (pupilRadius * 2 + 1); j++)
     {
       if(lightOn[j] == i)
       {

  // Stop it dead at the top and let it swing to the bottom on its own
  pos = 0;
  MomentumH = MomentumV = 0;
}



const float friction = 0.985; // frictional damping constant.  1.0 is no friction.
const float swing = 20;  // arbitrary divisor for gravitational force
const float gravity = 100;  // arbitrary divisor for lateral acceleration
const float gestureThreshold = -0.80; // accelerometer threshold for toggling modes

long gestureStart = 0;
long gestureHoldTime = 3000;

bool antiGravity = true;  // The pendulum will anti-gravitate to the top.
bool mirroredEyes = false; // The left eye will mirror the right.

const float pupilRadius = 2; // half-width of pupil (in pixels)

// Pi for calculations - not the raspberry type
const float Pi = 3.14159;
