# Illusion moving painting [arduino X servo motors]

Written by:

Work concept :

A drawing is a flat and two dimensional thing.
We paint and give it a live. My drawing is normally
paint in one pattern to sharp something in one tone
color and i can say its a illusional drawing.

In this painting, I created a lady in a chasing,running position.
(The audience possibly can't see the same image but it doesn't matter.
Illusion is a matter to puzzle someone'mind.)

From this curvy pattern and its action,it's a dynamic movement so that
I decided to make it into a "Real Running" by using creative electronic
but simple then put it back into a frame.Also, it create the mood of illusion
or give it a try to a new style and visual effect!

### Steps

[1]http://vimeo.com/33780255

[2]http://vimeo.com/33826987

______________________________________________________
See the Pdf ABOUT THE PREPARATION & SERVOMOTORS IN step by step !!!

+
Servo motors (red/orange) to 5V,power
+Servo motors (brown) to Grd ground
+Servo motors (yellow) link to Pin 8 n Pin9

arduino code:

#include

Servo myservo9;  // create servo object to control a servo

// a maximum of eight servo objects can be created

Servo myservo8;

int pos = 0;    // variable to store the servo position

void setup()

{

myservo9.attach(9);  // attaches the servo on pin 9 to the servo object

myservo8.attach(8); }

void loop() {

for(pos = 0; pos < 180; pos += 1)  // goes from 0 degrees to 180 degrees

{                                  // in steps of 1 degree

myservo9.write(pos);    // tell servo to go to position in variable 'pos'

myservo8.write(pos);

delay(15);                       // waits 15ms for the servo to reach the position

}

for(pos = 180; pos>=1; pos-=1)     // goes from 180 degrees to 0 degrees

{

myservo9.write(pos);    // tell servo to go to position in variable 'pos'

myservo8.write(pos);

delay(15);                       // waits 15ms for the servo to reach the position

}

}