FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   66 probs with redraw?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: 66 probs with redraw?  (Read 229 times)
Brendan Dawes
Guest
Email
66 probs with redraw?
« on: Oct 24th, 2003, 5:35pm »

Working on some live video feed stuff - taking the pixels and redrawing them as circles, squares lines etc. The thing is everything was fine with 056 but I've just tried all my stuff with 66 and the previous frames circles that get drawn on the screen stay there so eventually you end up with just a mass of circles? Meanwhile it works perfectly in 056. Do I now need to clear the screen in someway?
 
I'm on Mac 10.8.2 Quicktime 6.4 with the new Java update.
 
Any ideas anybody?
 
mKoser

WWW Email
Re: 66 probs with redraw?
« Reply #1 on: Oct 24th, 2003, 5:52pm »

if you have updated directly from 0056 to 0066, you might wanna take a look at the changes within the background method... in 0056 proce55ing automatically updates (cleared) the pixels[] (the canvas) for you in each loop.. in 0066 you need to call background() in eah loop to refresh the screen.
 
http://proce55ing.net/reference/background_.html
 
+ mikkel
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
Brendan Dawes
Guest
Email
Re: 66 probs with redraw?
« Reply #2 on: Oct 24th, 2003, 5:58pm »

Thanks for that, works a treat.  
 
 
Pages: 1 

« Previous topic | Next topic »