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.
IndexProgramming Questions & HelpPrograms › animation stopping
Page Index Toggle Pages: 1
animation stopping (Read 512 times)
animation stopping
Jun 14th, 2006, 2:44pm
 
Hello everyone,

I just started using procession and must say I am impressed. It looks very nice.

My first little movie is running into an error after a while.

The demo is online www.specialorder.be/extranet/data/0408/applet

I get an error on

     pixels[i] = aPixels[int((width*int(signal))+(i%width))];

Can anyone give me some advice on this?


I would also like to make animation full screen. Is that possible?

Great program!

Ken
Re: animation stopping
Reply #1 - Jun 14th, 2006, 3:10pm
 
I think you need to change:

if (signal > width-1 || signal < 0) {

to

if (signal > height-1 || signal < 0) {
Re: animation stopping
Reply #2 - Jun 14th, 2006, 6:54pm
 
Hey John,

Thanks! Fixed the problem!

Can I ask another question here or should I start another thread?

Is it possible to have the animation resize itself, so show 4 pixels for every one. So that is becomes bigger.

Just wondering!

Thanks for your support,

Ken
Page Index Toggle Pages: 1