No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
[[File:Cross-Disolve_Camera.pd]] | [[File:Cross-Disolve_Camera.pd]] | ||
With several iterations in between, I was finally able to build a patch that performed the basic function needed for my installation. This patch utilizes an ultrasonic motion sensor and an arduino to measure the distance of of an object--the viewer--to the screen where the images or videos are projected and responds accordingly: The cross-fade is triggered by the distance of the viewer. The following is a rudimentary version of what I hope to achieve in a larger installation context that more thoroughly considers the various behaviors of the viewer. I've also included the ping sensor program/code for the arduino. Again, please load your own media into the patch. | With several iterations in between, I was finally able to build a patch that performed the basic function needed for my installation. This patch utilizes an ultrasonic motion sensor and an arduino to measure the distance of of an object--the viewer--to the screen where the images or videos are projected and responds accordingly: The cross-fade is triggered by the distance of the viewer. The following is a rudimentary version of what I hope to achieve in a larger installation context that more thoroughly considers the various behaviors of the viewer. I've also included the modified ping sensor program/code for the arduino. Again, please load your own media into the patch. | ||
[[File:Fullscreen_Final_Patch.pd]] | [[File:Fullscreen_Final_Patch.pd]] |
Revision as of 17:24, 1 April 2012
PROGRAMMING:
One of the first things I tried to accomplish in pure data was building a simple cross fader between to moving images. I knew that I would want motion detection to be incorporated into my final installation, however I thought it better to start simple given my introduction to visual programming languages. You may load your own media into the patch.
A second iteration of the patch utilizes the camera on a computer to sense movement and trigger the cross fade/dissolve between the two videos. Again, you may wish to load your own media into the patch.
With several iterations in between, I was finally able to build a patch that performed the basic function needed for my installation. This patch utilizes an ultrasonic motion sensor and an arduino to measure the distance of of an object--the viewer--to the screen where the images or videos are projected and responds accordingly: The cross-fade is triggered by the distance of the viewer. The following is a rudimentary version of what I hope to achieve in a larger installation context that more thoroughly considers the various behaviors of the viewer. I've also included the modified ping sensor program/code for the arduino. Again, please load your own media into the patch.