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
Video Echo (Read 224 times)
Video Echo
Jan 15th, 2009, 1:15am
 
I'd like to have a running buffer of frames that I can "tap" to use as a visual echo, much like an audio tape delay. So every time I write a frame, I'd like to save it in memory as well as display it so that they can be called up N frames later and displayed (with diminished opacity) again.

My plan right now is to use an array of PGraphics objects... don't see any reason it wouldn't work, but I'd like to make sure there isn't some syntactic sugar or something which would make things easier. I'd imagine someone has done this kind of thing before... does anyone have examples (both for code and aesthetic inspiration)?
Re: Video Echo
Reply #1 - Jan 15th, 2009, 10:45am
 
I think you can get a starting point there: blend intensity
Somehow, I think now I could have used tint() instead of mask, but it wouldn't change much code/efficiency.
Page Index Toggle Pages: 1