Saturday, December 4, 2010

ICAM 160A final plan

budget:


time line
(check mark:already done;  square: will do as plan)



Monday, November 8, 2010

ICAM 130 Something is happening

For this assignment, im try to make a bunch of shots about attention.
from the reading "The happening-something congeals at the fulcrum of our attention. "  So I find this slow motion of dogs looking at something. I really like the slow movements and their face emotions. "One reaches out through non-linguistic forms of body contact and exchange, as if opening the body, extending it."








Tuesday, November 2, 2010

Vis 147 Midterm Project

Alan Yang
VIS 147
Nov 1 2010
Midterm Project
       We are living in an amazing world that some creatures have two eyes, and some have compound eyes. But not all the eyes can provide good sight to creatures as they needed. However they have developed some other senses to help themselves to live. One example is the bats using Echolocation.
These animals have really poor sight; however, they are able to use Echolocation to navigate during fly. “Bat echolocation is a perceptual system where ultrasonic sounds are emitted specifically to produce echoes. By comparing the outgoing pulse with the returning echoes the brain and auditory nervous system can produce detailed images of the bat's surroundings.” Bats are actually seeing the images from the echoes. So I came up this idea of hearing “the sound of vision”, or “the pitch of a space”. Some abstract art works are painted to present a rhythm or a piece of music. My idea of this project is to give user an audition of the space.
My device is built on a baseball cap. There is a microphone to measure the volume of the voice. As the performer yells loud enough, the microphone will activate the device, and then the ultra-sonic distance sensor will start to detect the distance. After that, the measuring result from the distance sensor will be sent to Arduino. Then the Arduino will use the input sound and the distances as factors to play a short rhythm. As the output, the performer will hear this special piece of music.















Codes:

/* 
 *Name:Alan Yang
 *VIs 147 Midterm Project
 *The sound of a space
 *
 *
 *More info:
 *THis is a small electronic devide which can detect objects from the distance. 
 *And then the distance will be transalted into the sound.
 *The duration of the sound is depends on the distance.
 */


// these constants won't change:
const int ledPin = 13;      // led connected to digital pin 13
const int electret = 1;  // the amplifier output is connected to analog pin 1.(Mircophone)
const int pingPin = 7;  // ultra sonic sensor 


// these variables will change:
int sensorReading = 0;      // variable to store the value read from the sensor pin
int sensorMax = 0;
int sensorMin = 1023;
int threshold;


//Starting up the device and detecter the background noise.
void setup() {
  pinMode(ledPin, OUTPUT); // declare the ledPin as as OUTPUT
  Serial.begin(9600);       // use the serial port
  pinMode(13, OUTPUT);
  digitalWrite(13, HIGH);
  pinMode(4, OUTPUT);
  while (millis() < 3000) {
    threshold = analogRead(electret);

    // record the maximum sensor value
    if (threshold > sensorMax) {
      sensorMax = threshold;
    }

  }

  // signal the end of the calibration period
  digitalWrite(13, LOW);
  threshold = sensorMax;

}

void loop() {
  // read the sensor and store it in the variable sensorReading:
  sensorReading = analogRead(electret);    

  // if the sensor reading is greater than the threshold:  (activate the distance sensor)
  if ((sensorReading >= 200)) {
  
      
    // establish variables for duration of the ping, 
    // and the distance result in inches and centimeters:
    long duration, inches, cm;
  
    // The PING))) is triggered by a HIGH pulse of 2 or more microseconds.
    // Give a short LOW pulse beforehand to ensure a clean HIGH pulse:
    pinMode(pingPin, OUTPUT);
    digitalWrite(pingPin, LOW);
    delayMicroseconds(2);
    digitalWrite(pingPin, HIGH);
    delayMicroseconds(5);
    digitalWrite(pingPin, LOW);
  
    // The same pin is used to read the signal from the PING))): a HIGH
    // pulse whose duration is the time (in microseconds) from the sending
    // of the ping to the reception of its echo off of an object.
    pinMode(pingPin, INPUT);
    duration = pulseIn(pingPin, HIGH);
  
    // convert the time into a distance
    inches = microsecondsToInches(duration);
    cm = microsecondsToCentimeters(duration);
    
    Serial.print(inches);
    Serial.print("in, ");
    Serial.print(cm);
    Serial.print("cm");
    Serial.println();
    digitalWrite(13,HIGH);
  
  
    int freq = duration;//sensorReading*10; // the warning sound has a pitch, it depends on the volume of the input sound.
    //delay(inches);  // Making an echo effects
    buzz(4,freq,cm); // the output, make a warning sound.
    digitalWrite(13,LOW);
}

}

long microsecondsToInches(long microseconds)
{
  // According to Parallax's datasheet for the PING))), there are
  // 73.746 microseconds per inch (i.e. sound travels at 1130 feet per
  // second).  This gives the distance travelled by the ping, outbound
  // and return, so we divide by 2 to get the distance of the obstacle.
  // See: http://www.parallax.com/dl/docs/prod/acc/28015-PING-v1.3.pdf
  return microseconds / 74 / 2;
}

long microsecondsToCentimeters(long microseconds)
{
  // The speed of sound is 340 m/s or 29 microseconds per centimeter.
  // The ping travels out and back, so to find the distance of the
  // object we take half of the distance travelled.
  return microseconds / 29 / 2;     


  }
  
  // class to make buzzer work.
  void buzz(int targetPin, long frequency, long length) {
    long delayValue = 1000000/frequency/2; // calculate the delay value between transitions
    //// 1 second's worth of microseconds, divided by the frequency, then split in half since
    //// there are two phases to each cycle
    long numCycles = frequency * length/ 1000; // calculate the number of cycles for proper timing
    //// multiply frequency, which is really cycles per second, by the number of seconds to 
    //// get the total number of cycles to produce
    for (long i=0; i < numCycles; i++)
      { // for the calculated length of time...
        digitalWrite(targetPin,HIGH); // write the buzzer pin high to push out the diaphram
        delayMicroseconds(delayValue); // wait for the calculated delay value
        digitalWrite(targetPin,LOW); // write the buzzer pin low to pull back the diaphram
        delayMicroseconds(delayValue); // wait againf or the calculated delay value
       }
}


Monday, November 1, 2010

ICAM 130 Examples

ATTRACTIONS :


This is the cover of Shakira's first music album, Laundry Service. "they are solicitations, conductive excitations, embedded within networks of erotic exchange. " This cover is clearly showing the exhibitionism and the voyeurism of satisfy the consumers' demand. A attracting female  is not  wearing any shirts and she pose has a meaningful concepts of “attraction”. There is a obvious tattoo on her arm. It is claverly done by puting the album name on the part of her body which attracts others.



An actress performing a bath scene. “It compels us to seek fulfillment through the gaze of the other: the elementary fantasmatic scene of being looked at (validated) by an unseen presence.” Even though the bubbles cover the most part of her body, but audiences can still imagine what her pose is and how she would take the bath.







This is not a simple imperonation. It goes beyond the self-identification. By playing a female vision of famous McD symbol, it added its own meanting of consumer based market. Yet the character is transformed from the funny joker to  the sexy young lady.




Are we looked the same as the mirror image? This painting reminds me of what the real self is. "as if this were somehow the very condition of our continued existence, the marker of our worth. "Sometimes we look ourselves just unlike the one we behave.As we are nude, we become other to ourselves

Tuesday, October 19, 2010

market of attention

The market of attention is based on two sides, the desire of being viewed and the audiences with voyeurism. For those who are being viewed, they seek the public attention for various reasons. One is the media reality. We are living in this world seems real and dramatic at the same time. A great way of seeking the reality, the way to reach the truth, and to behave honestly, is to be viewed by the public. They are more pleasured by showing through the reality TV to feel the self-existence. For those people who make the shows, they clearly know how to draw audiences’ attention, the way of making it feel like real thing, make it close to the reality. They want to monitor the other’s privacy. For the audiences, they are not watch super stars acting in front them any more, they are viewing normal people same as them. People want to know the difference between other. In the public, everyone is sort of staged and not showing the real self. but in the private space, they might express the real self. So the TV program of showing people's privacy became very popular.






Thursday, October 14, 2010

October 07 ~ October 13 2010

I did a project budget sheet



Also find the 3D webcam:


Currently, this webcam does not support Mac OS. I sent the company an E-mail about this, but didn't get the reply.
Also, from what I have researched, what 3D cemeras do is simply captures two seperated channel of videos, and then send the videos to the computer; let the computer to process video sources(combines these two videos, then makes it blue&red).So I have to do a little program myself in order to make raw data to 3D video.


sample raw video source





This week, I went to the next stage from 3D images to 3D videos.


I am still working on the art concept so this 3D video program could get involved.
Since I am taking Vis 147 electronic arts class, I want to see if I can bring any hardware to my project, for example, arduino and sensors.

September 30~October 07 2010

I started to try to make some 3D images from original 2D images, and here is the one, which is not reall working
There images are captured by teh 3D camera



Thursday, October 7, 2010

Early Blogs

September 23 2010
Today, we had the first meeting for ICAM 160 class. We briefly planned out the weekly schedual, and set some goals for the end of fall quarter.
September 23~30 2010
During the week, we were asked to do a project proposal and did research towards our project.
In my plan, I want to make something with a 3D interface, so that the users could simple put on the 3D glasses and feel the different layers from the monitor. 
Since most  of the opearting systems and programs are written in 2D environment, it is hard to create the 3D environment for my projects. So the easiest way to have my idea applied is using multi-cameras to capture the real world environment.
Before going any further into 3D interface desin, I should first start to learn how 3D images work.
Here is link that really explains 3D technology:
September 30 2010
Today, we had second meeting in class, everyone presented their idae of the project and we discussed a little about it. I was really inspried by a group of doing GPS based games. The resson why I think this is interesting is because the GPS could bring game into the physical world. Players don't need to sit in front of computers to join the game. They can actually move their bodys and experience the reality and vitural world at the same time.
For my project, I found a partner which has a similar idea with me. She wants to create an education software based on camera control.
So we both have our projects have something to do with camera, why dont we joint out thoughts together.

Early Blogs

September 23 2010
Today, we had the first meeting for ICAM 160 class. We briefly planned out the weekly schedual, and set some goals for the end of fall quarter.
September 23~30 2010
During the week, we were asked to do a project proposal and did research towards our project.
In my plan, I want to make something with a 3D interface, so that the users could simple put on the 3D glasses and feel the different layers from the monitor. 
Since most  of the opearting systems and programs are written in 2D environment, it is hard to create the 3D environment for my projects. So the easiest way to have my idea applied is using multi-cameras to capture the real world environment.
Before going any further into 3D interface desin, I should first start to learn how 3D images work.
Here is link that really explains 3D technology:
September 30 2010
Today, we had second meeting in class, everyone presented their idae of the project and we discussed a little about it. I was really inspried by a group of doing GPS based games. The resson why I think this is interesting is because the GPS could bring game into the physical world. Players don't need to sit in front of computers to join the game. They can actually move their bodys and experience the reality and vitural world at the same time.
For my project, I found a partner which has a similar idea with me. She wants to create an education software based on camera control.
So we both have our projects have something to do with camera, why dont we joint out thoughts together.

testing

first test