     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)
       {

  FastLED.addLeds<APA102, DATAPIN_RIGHT, CLOCKPIN_RIGHT>(rightLense, NUM_LEDS);

  // Try to initialise
  if (!lsm.begin()) { while (1); }
  setupSensor();
  resetModes();
}

// main processing loop
void loop(void)
{

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

void gestureActivatedMode() {
  for(int i=0;i<NUM_LEDS;i++){
    if(i%3==0){
      rightLense[i] = CRGB(0,0,255);  
      leftLense[i] = CRGB(0,0,255);
    } else {
      rightLense[i] = CRGB(0,0,0);  
      leftLense[i] = CRGB(0,0,0);
    }
  }
  FastLED.show();
}


