 
 void loop()
 {
+  float potValue = (float)analogRead(pinPot) / 1023;
+
   for (int i = 0; i < numNeopixels; i++)
   {
     auto& firefly = fireflies[i];

    }
    else
    {
      if (random(0, fireflyChance) == 0)
      {
        firefly.active = true;
        firefly.lifetime = fireflyLifetime();


Firefly fireflies[numNeopixels];

int fireflyChance(float scaler) { return 1000 * scaler; }
int fireflyLifetime() { return random (100, 200); }

Color3F fireflyColor()
