Projection Snippet,
Just a little bit of how it looked and the interaction with the button.
The video is pixelated and I could not figure it out why....
Thatâs all folks...

Love Begins
Alisa U Zemlji Chuda
ojovivo
$LAYYYTER
h
I'd rather be in outer space đ¸
todays bird
Claire Keane
KIROKAZE

JVL
No title available
No title available
almost home
wallacepolsom
YOU ARE THE REASON
hello vonnie

#extradirty

No title available
Aqua Utopiaď˝ćľˇăŽĺşă§č¨ćśăç´Ąă

No title available

seen from Malaysia
seen from United States
seen from United States

seen from Uzbekistan
seen from United States

seen from United States
seen from United States

seen from United States
seen from United States

seen from United States
seen from United States

seen from United States

seen from United States
seen from South Korea
seen from South Africa
seen from Bangladesh

seen from Germany

seen from Belarus

seen from Belarus
seen from United States
@natbmh-blog
Projection Snippet,
Just a little bit of how it looked and the interaction with the button.
The video is pixelated and I could not figure it out why....
Thatâs all folks...
Final Version
This is the final code and video with the different colours.
Code is below:
import processing.video.*;
Movie movie; int val = 0;
void setup() {  size(1000, 800);  background(0);  // Load and play the video in a loop  movie = new Movie(this, "OctagonL.mp4");  noCursor(); }
void movieEvent(Movie m) { Â m.read(); }
void draw() { Â switch(val){
  case 0:   background(0);   break;
  case 1:   movie.loop();   image(movie,0,0);   tint(255,69,0);   break;
  case 2:   movie.loop();   image(movie,0,0);   tint(255,215,0);   break;
  case 3:   movie.loop();   image(movie,0,0);   tint(102,205,170);   break;
  case 4:   movie.loop();   image(movie,0,0);   tint(204,229,255);   break;
  case 5:   movie.loop();   image(movie,0,0);   tint(172,136,235);   break;  } }
void keyPressed(){ if (key == ' '){ val = val +1; //if key gets pressed it will add the value to it if(val>5) { // if it goes above 3 it goes back to zero val = 0; } } println(val);
}
Testing Button Now testing with Makey Makey and new video. Also, my code is new. I have decided to switch to VAL and CASES so to use only one button. I place the movie into loop so it keep going and it doesnât jump.
Making the button It was a simple one just to act as a trigger in place of my original idea.
FIRST final version
This was my first final version and what I took with me to be projected.
I had 5 different button and was really happy with the colour and contrast.
Unfortunately, it did not work whit the projector. The colours got washed out, the lack of boundaries in the footage got lost and because the room was so light so did the graphics. Furthermore, I had 5 different buttons and that was not my final goal - I wanted to have the button just to show the colours changing and not as an interaction - the most important interaction is between us and the weather and the fact that we CANâT control it.
I made a big mistake by not filming the projecting, so canât show how wrong it was.
Colours
My first project was all about warm and cool colours - representing the weather and how expose we are to it.
To enrich the project I experimented with this rainbow palette but as the animation progressed some colours got tweaked. Specially because the TINT tool applies a filter to the video, so the exact colour can never be predicted.
New Movie
In this second trial I chose a movie that would represent the fluid movement I imagined. I believe it looks very mesmerizing, specially the contrast and dark background.
Colours are still very basic and there are two different buttons doing the flipping action.
Royalty Free video taken from Pixabay.com
Tint and Colours
Because my first project was all about movement and colour I started by applying tint to my first trial code. I figured using this tool from Processing would be less complicated then trying animation from zero.
The trigger, in theory, would be the weather (temperature) but for the purpose of this second project I will used a normal button to show the colours changing.
Movie Task
Now working with the space and up keys.
I believe not considering the 2 images under draw was the problem all along...
Boolean Variables
I am not even sure if they are necessary...
Switching between images
Trying to understand a little bit more how to switch between images without overriding them.Â
SOURCE:Â https://stackoverflow.com/questions/31381744/processing-how-to-write-on-mouse-click-in-region-for-effect-of-clicking-a-b
Sound Task
The sound is not choppy when playing from the computer.
Another trial
Starting to work. Sound is hard to hear but it is working!
Added first sound.
Ignore the dog barking :)
Sounds
No sound yet, working on mouse triggers first
Possible Submission
This is it. I probably made everything super complicated and don't really understand half of it...HELP!
Still can't use the SPACE bar as a key because it was not âmixingâ with the other special keyboard keys (UP, DOWN, LEFT, RIGHT) and couldn't figure it out why.
Also, because the movies were not coming back I decided to show them side to side.
This is the closest I got so far, but the keys are wrong - they are not SPACE and UP Plus, I am trying to figure it out how to bring the first movie back...I know it is playing in the background because of the black board at the bottom of the screen.