The Moire Effect

Description
With use of a motor and images that have a subtle sense of alignment, I tried to create a lamp that has a Moire effect as it rotates. The motion effect would change depending on the speed. I had also designed the patterns to recreate the effect.

Components

  • Arduino Uno
  • DC Motor
  • Design of static Moire patterns
  • Transistor TIP120
  • Semiconductor 1N4004
  • Jumper wires
  • Potentiometer
  • 1k Ohm Resistor


/*
* one pot fades one motor
* modified version of AnalogInput
* by DojoDave
* http://www.arduino.cc/en/Tutorial/AnalogInput
* Modified again by dave
*/

int potPin = A0; // select the input pin for the potentiometer
int motorPin = 9; // select the pin for the Motor
int val = 0; // variable to store the value coming from the sensor
void setup() {
Serial.begin(9600);
}
void loop() {
val = analogRead(potPin); // read the value from the sensor, between 0 - 1024
Serial.println(val);
analogWrite(motorPin, val/4); // analogWrite can be between 0-255
}

img_20161011_234255

Leave a Reply