We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Moving (Read 594 times)
Moving
Nov 27th, 2009, 4:56pm
 
I'm trying to get this to work and maybe someone else has gotten this to work, but here's the idea:

With a camera installed, a user will come up to the computer, click on the mouse and the program will capture a short clip of the user.  Then, that movie will be called to play in a loop.  When this is playing, it will play in an ellipse that will moving randomly throughout the screen.  As time goes on, this ellipse will continue to get smaller and smaller as time goes on.  Of course, there will be multiple video loops that will be doing this.

Does anyone know of an example code for this or have any suggestions?  Thanks.
Re: Moving
Reply #1 - Nov 27th, 2009, 5:32pm
 
you wont get an example that offers what you need.
but just start somewhere and do it step by step.

Thats the way most projects start.

First thing i would do is to write a class that creates a ball everytime somebody presses a key. An example that could help you as it deals with different number of balls that disappear is the arraylist example

http://processing.org/learning/topics/arraylistclass.html

this is a really good start.
if this is working the way you want it. try to record images and video from a webcam and then add this as texture... etc...

good luck!
Page Index Toggle Pages: 1