 
         // Draw the particle and its tail
         // High velocity particles have longer tails
-        for (int ii=0; ii < tailLength; ii++) {
-
+        for (int ii=0; ii < tailLength; ii++) 
+        {
             // Taper the tail fade
             float colorScale = ((tailLength - (ii * GOLDEN_RATIO)) / tailLength);
-
-            if (ii == 0 && prt.dimmed) {
-            // Flicker the first particle
+            if (ii == 0 && prt.dimmed) 
+            {// Flicker the first particle
                 colorScale *= (random(50) / 100) + 0.05;
             }      
 
-            if (emitter.threed) {
+            if (emitter.threed) 
+            {
                 colorScale *= zScale;
             }
 
-            if (colorScale < 0.05) {
+            if (colorScale < 0.05) 
+            {
                 colorScale = 0.0;
             }
 

    uint16_t frameElapsedMillis = millis() - frameStartMillis;
    uint16_t frameDelayMillis = (MILLIS_PER_FRAME - frameElapsedMillis);

    if (frameDelayMillis > 0.0) {
        Serial.println(frameDelayMillis);
        delay(frameDelayMillis);
        strip2.show();
    }
}

void setCoordColor(Coord3D coord, uint32_t color) {
    strip2.setPixelColor(coord.x * emitter.numPixels, color); 
}


    else if(command.equals(SETALL))
    {
        loopRun = SETALL;
    }
    else if(command.equals(ALTERNATE))
    {
        loopRun = ALTERNATE;
    }
    else if(command.equals(LOOPALTERNATE))
    {
        loopRun = LOOPALTERNATE;
    }
    else if(command.equals(LOOPBLOCKS))
    {
        loopRun = LOOPBLOCKS;
    }
    else if(command.equals(BLOCKS))
    {
        loopRun = BLOCKS;
    }
    else if(command.equals(FADECOLOR))
    {
        loopRun = FADECOLOR;
    }
    else if(command.equals(RAINBOW))
    {
        loopRun = RAINBOW;
    }
    else if(command.equals(STOP))
    {
        loopRun = STOP;
    }
    else if(command.equals(SHUTDOWN))
    {
        loopRun = SHUTDOWN;
    }
    else if(command.equals(ENDRUN))
    {
        loopRun = ENDRUN;
    }
    else if(command.equals(SNOW))
    {
        loopRun = SNOW;
    }
    else if(command.equals(PARTICLES))
    {
