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