This blog is dedicated to my Final Year Project which will be an Urban Installation created in an abandoned house, where the 4 seasons are unleashed. Within this blog, you will know how my project has progressed including the problems which I will encounter and also the development of my final piece - Hafiza :D

Wednesday, 28 April 2010

Loading Animations into Processing

Below is the screenshot of the code that is used to load a video in Processing.


This image below shows the animation once you have clicked on the (>) icon in Processing.


The above coding is to add a video into Processing. However, I want the animations to load when the turntable has reached to a specific co-ordination.

To begin with, I moved my .mov files of the animations into the 'data' folder where my processing code is saved. See screenshot below.
The screenshot below is of the code I used to load my animations at specific co-ordinations. The code has been highlighted:

The highlighted code is basically stating 4 specific co-ordinations, 0, 50, 20 & 60. Underneath that, I have the file names of the animations that I want to be played at the co-ordinations stated.

This screenshot shows the code that tells Processing to play the video once the turntable has stopped at the specific co-ordinations selected.


No comments:

Post a Comment