L&I: Class 01


First Class of Lighting & Interactivity, Tom asked us to do a simple interruptible fading light and I have got to confess that I am a bit rusty on my physical computing and took me a while to do what I was able to do last semester. I started off by looking at the Arduino example with blinking and fading light and combined these two together. One main thing that I made a mistake was that I used the digitalWrite() when I was supposed to use analogWrite() to get the fading effects.


CODE : 

// pwm fading led

int led = 9;
int brightness = 0;
int fadeAmount = 5;

void setup() {

  pinMode(led, OUTPUT);  
  
  // what's the difference if I change the OUTPUT to HIGH to LOW
  // resut is the same

}

void loop() {
  // set the brightness
  analogWrite(led, brightness);

  // change the brightness next time through loop
  brightness = brightness + fadeAmount;

  // reverse the direction of the fading at the ends of the fade
  if (brightness == 0 || brightness == 255) {
    fadeAmount = -fadeAmount;
  }

  // wait for 30 ms to see the effect
  delay(30);
}

Schematic :



Location: Urban Outfitters, NoHo, NYC

Time: 07.50 pm

Date: 27 Jan 2017

I was shopping with my friend and when I was about to pay and came across these lit candles decorated on the counter. The candle was lit in an amber glass jar that was place inside of another bigger jar, which I assume for both safety and decorations purposes.

The candle wax was already half way down the amber jar, which soften the direct hard light of the light source if it were brand new. The flames dance and flow as though they are hypnotizing me in a moment of warmth and comfort as I was waiting in line. I like how the candle was put inside of another bigger jar because at some point I can see when it the light hits the outer last layer the accumulated effects look like the flames were cut and moved slightly out of place but only for a moment.

 

Having come from Thailand where candle is deep-rooted in our daily lives, in particularly at temples and in many other celebrations. Candle lights reminds me of two main festivals in Thailand called "Loy Krathong" and "Yi Peng Lantern Festival". More information about the festival here and here. If you ever get a chance to travel to Thailand I really recommend you to go. They are really mesmorizing!

Source

Source: 1

  Source: 2 , 3

 

Yi Peng Lantern Festival

Source: 4

 


A Short History of Color Theory by Rune Madsen

Rune states,

Artistic color theory, which is concerned with the visual effects of color combination in the fine arts, and scientific color theory, which describes the nature of color through increasingly complex but precise color models. 

His notes on the color system: additive and subtractive colors that are all around us, into the devices that we used daily inspired me to research more on the subject matter. As Rune said, I think that if I can distinguish and understand how they are implemented, I can later on adapt this knowledge into my projects. I can't wait to read the next chapter. I looked into the book, Theory of Color by Johann Wolfgang von Goethe and the illustrations diagrams are very helpful. I know that you have mentioned that this class will not focus on the projection mapping but as I have mentioned to you in the office hour that I am also take a class on Magic Windows with Rui and I think this class is perfect for me to experiment on that subject matter and Rune's chapter on color theory really keep me thinking!

 

Source: Color Theory