Friday, February 17, 2023

Input/Output 2: Touch designer progress demo

 Hi again,

This is a little someting something I made

Touch Designer progress: 




This week, I created a (demo) moving liquid situation on touch designer. I still need to figure out how to fix the resolution. 
I also need to learn how to take screen captures because I had to take an awkward screenshot of my screen in order to capture this:




anyways, since figuring out how to create the liquid-like animation was interesting, I might mess around with it further to make different shapes. 

This project will be working by interacting with an "object" that will be provided for the viewers (still working on what that "object" will be).

Last week, Bryan suggested that I use an IMU sensor (with Arduino) for this project. 
The IMU sensor then will capture the X and Y axis movements and this will trigger the colorful liquids to move. 

Concept : 

The concept that I have decided to focus on is time. Since the technical aspect of this project revolves around motion, I chose to go with this idea since time and motion go hand in hand. I will be using an hour glass. 

the goal of this project: moving visuals appear on the screen as one flips the hour glass.

Main Materials that will be used:

  • Hourglass
  • Sensor : An Inertial Measurement Unit (IMU)
  • Arduino UNO 

Space to be booked: 

  • Closet Gallery



Thursday, February 9, 2023

Input/output proposal: trippy generated visuals

 Hi!



I get excited when it comes to screens and cool visuals, so for this assignment, I have decided to use Touch Designer and Arduino. 

This is an extremally rough sketch that I have in my mind so far: 


I would like to use closet gallery to put this idea to work.  I have yet to figure out what the "object" (from the sketch) is yet to be. The ideal would be that by getting close/far from the object, generative abstract shapes and colors would appear on the screens. 
I have previously created a work in which I animated and edited (layer by layer) a similar visual in which I would like to achieve within this work (but with the use of Touch Designer instead!) 
here is a video reference: 
I am looking forward to learn how to do this like a boss!! 




Thursday, February 2, 2023

Stupid AF Pet Trick: The Portrait Has Your Attention

 Hi!


for this project, in my imaginations I thought of a museum with a "mellow" light going on, where by approaching the work, one would activate some sort of spotlight and would light up the works being displayed. 

I chose to work with this color changing lamp because of 1.the  "hue" gives attention to the work. 2.It already switches colors by turning on (so it just looks pretty while I don't need to do complicating stuff).

I used a guinea pig art work as an example below to display how this gallery would operate. By approaching the art, the lamp that is controlled by an ultrasonic motion sensor will light up!



Code: 

const int TRIG_PIN = 7; // Arduino pin connected to Ultrasonic Sensor's TRIG pin
const int ECHO_PIN = 8; // Arduino pin connected to Ultrasonic Sensor's ECHO pin
const int LED_PIN  = 13; // Arduino pin connected to LED's pin
const int DISTANCE_THRESHOLD = 70; // centimeters

// variables will change:
float duration_us, distance_cm;

void setup() {
  Serial.begin (9600);       // initialize serial port
  pinMode(TRIG_PIN, OUTPUT); // set arduino pin to output mode
  pinMode(ECHO_PIN, INPUT);  // set arduino pin to input mode
  pinMode(LED_PIN, OUTPUT);  // set arduino pin to output mode
}

void loop() {
  // generate 10-microsecond pulse to TRIG pin
  digitalWrite(TRIG_PIN, HIGH);
  delayMicroseconds(10);
  digitalWrite(TRIG_PIN, LOW);

  // measure duration of pulse from ECHO pin
  duration_us = pulseIn(ECHO_PIN, HIGH);
  // calculate the distance
  distance_cm = 0.017 * duration_us;

  if(distance_cm < DISTANCE_THRESHOLD)
    digitalWrite(LED_PIN, HIGH); // turn on device
  else
    digitalWrite(LED_PIN, LOW);  // turn off device

  // print the value to Serial Monitor
  Serial.print("distance: ");
  Serial.print(distance_cm);
  Serial.println(" cm");

  delay(500);
}


Monday, January 30, 2023

lamp in a lamp game plan

 Hi ! 

for this week, I am planning on doing something extra cool by combining what I have learned from both OBDF and MADT ! 



Object design wise, I am planning on modelling a stacked light bulb, and inside it I will be inserting a "real" light bulb.

💡I had my lightbulb moment when I found this💡 :


So I thought to myself "It would be sick to model a lamp and put a real working lamp inside it"

Sketch wise: 


I will most likely make a base for it as I feel it would be a safer option if I am going to make it interactive (for later!) 

I am finding it difficult to make room for a light bulb inside it hehe so I will probably use led strips instead!!










Monday, January 23, 2023

3D Ocean Wet Vase Design + animation

 Hi !

This week we learned more cool stuff in class, I decided to go on YouTube in order to both refresh my memory and learn some extra things for this project. 

I ended up learning about Weaverbird plugin and by using that, I tried to give this vase more "personality"💅. 

This is the vase that I have made + the definition before animating it :




here is a more personal angle:



It was fun to mess around with it :





and here is the super wet final gif !!! :

this one is goofy too :




Bye Bye



Thursday, January 19, 2023

My zombie "interactive" LED lights

 Hi again!

So I struggled A LOT and am still confused about why I can’t get this thing to work. It is not interactive yet, looks more like an artifact representing my failure. Here is two different photos with two different attempts that ended up not working unfortunately. 

First attempt:


Second attempt:


I am currently working on the third attempt and when it is finished I will post the final code here as well (can’t wait) 

3RD UPDATE: 

I GOT SOMETHING WORKING, it is not a 100 percent yet but I am pretty proud so far.

video:




Code so far:

  // serial communication
  Serial.begin(9600);

  //LED pins
  pinMode(8, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(10, OUTPUT);
 
  //button
  pinMode(13, INPUT);
  // pin 13 resistor
  digitalWrite(13, HIGH);
}

void loop() {

 


  //is button being pressed?
  if (digitalRead(13) == 0) {

   
    digitalWrite(9, HIGH);
   
   
  } else {
    //2nd
    if (analogRead(A0) <= 700) {

      digitalWrite(8, HIGH);
     
      digitalWrite(10, HIGH);
     
    }
   
    //3
     if (analogRead(A0) >= 0 && analogRead(A0) <= 240) {
   
      digitalWrite(8, LOW);
      digitalWrite(9, LOW);
      digitalWrite(10, LOW);
     
   
    }
    //reading of button and pot
    Serial.print(analogRead(A0));
    Serial.print("  ");
    Serial.println(digitalRead(13));
  }
}



Blink Blink

 Hi, this is my Blink: 


This is my code:

// Blink: Turns LED on for a second, then off for a second

//pin 13 name
int led = 13;

//setup routine runs once when reset is pressed
void setup() {

  //initialize the digital pin as an output
  pinMode(led, OUTPUT) ;
}


//the loop routine runs over and over again :
void loop() {

digitalWrite(led,HIGH);   //turn LED on
delay(500) ;            //waits a second
digitalWrite(led,LOW);   //turn the LED off
delay(500);            //waits a second

}

Input/Output 2: Touch designer progress demo

  Hi again, This is a little someting something I made Touch Designer progress:  This week, I created a (demo) moving liquid situation on to...