 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.
+//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.
 int scale = 70; // Scaling the image to maximum size. Gets adjusted after first run.
-int max_dev = 0; // Keeping track of maximum deviation of the servos.
 int counter = 0; // How many times through the main loop.
 
 void setup() 

  servoy.attach(7);  // attaches the servo on pin 10 to the servo object
  pinMode(3, INPUT_PULLUP); // Starting button input
  randomSeed(analogRead(0)); // Just seed with a random value
} 

void loop() 



#include <Servo.h> 

// Create the servo objects
Servo servox;
Servo servoy;
