GMU:Processing im Park/Emilio Aguas/Cave and Light: Difference between revisions

From Medien Wiki
Line 140: Line 140:


[[File:Final.png‎ |thumb| left| 400px  | Digital torch with real torch]]
[[File:Final.png‎ |thumb| left| 400px  | Digital torch with real torch]]
<br>In the video the light moves like crazy because there is no source of light in front of the web camera so when I light the lighter the camera detects the change of brightness an update the brightness in the pixels values, so for now on if i move the lighter the digital torch is going to move, also the program has a code in this case to make the torch with a green filter, but this could be change also.


<br>Source code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Emilio_Aguas/sample_code_final  -click here-]
<br>Source code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Emilio_Aguas/sample_code_final  -click here-]
<br style="clear:both;">
<br style="clear:both;">