|
Author |
Topic: 66 probs with redraw? (Read 229 times) |
|
Brendan Dawes Guest
|
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
|
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
|
Re: 66 probs with redraw?
« Reply #2 on: Oct 24th, 2003, 5:58pm » |
|
Thanks for that, works a treat.
|
|
|
|
|