Portfolio. BHSAD Arduino Prototyping | L4, Harduino: Drawing light | Page 15

Color mixer int inRGB[] = { A0,A1,A2 }; int outRGB[] = { 10,11,13 }; int tempValue = 0; const int inMinVal = 0, inMaxVal = 1023; void setup() { for (int i = 0; i < 3; i++) { pinMode(inRGB[i], INPUT); pinMode(outRGB[i], OUTPUT); } } geometric forms and animal figures. Freiler and Fels had a masterful ability to work with different materials, such as patinated brass and brilliant chrome. void loop() { for (int i = 0; i < 3; i++) { tempValue = analogRead(inRGB[i]); tempValue = map(tempValue, inMinVal, inMaxVal, 0, 255); analogWrite(outRGB[i], tempValue); } } The work of Curtis Jeré displays a sense of playfulness and curiosity, while drawing on inspirations and themes that include flowers, discs,