     } 
 
     // Return to center after drawing.
+    delay(5000);
     servox.write(90);
     servoy.write(90);
 }

        // The random seed is not random enough, so this provides a more random result.
        facter = random(1001, 1021)/1000.0; // Increase the second number for variation.
        starter = random(3141)/1000.0; // offset the starting point by 0-3.141 radians
    }
    // Main loop, to 90% decay in amplitude of the movements.
    for(pos = 0; pos < decay*0.9; pos += 1)
    {  
        // Adjx just gives me a nice sine wave
        adjx = int(90 + int(70 * (1 - pos/decay) * sin(pos * spd)));

        // Also a sinewave, with offsets and different period.
        adjy = int(90 + int(70 * (1 - pos/decay) * sin(starter + (pos * spd * facter))));

        // Get the values to the servos.
        servox.write(adjx);

float spd = 0.005; // This value seems to work for reasonable speed.
float facter = 1.0; // Ratio between servox and servoy periods.
float starter = 0; // Starting position offset between the servos.
float facter2 = 1.0; // Ratio between servox and servoy periods.
float starter2 = 0; // Starting position offset between the servos.
int adjx = 90; // Position of servox
int adjy = 90; // Position of servoy
float decay = 60000; // Gives the amount of steps to run on. Higher gives a slower decay.
