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 problem
Page Index Toggle Pages: 1
Animation problem (Read 641 times)
Animation problem
Apr 6th, 2010, 1:36am
 
Hi, Ive started to animate some images that represent wave heights in the North Atlantic - im hoping to learn processing to add some more interaction to the images in the future but now im very new to this and im experiencing some problems.

rollingsixes.co.uk/testingsixsurf/applet/index.html

The animation consists of 60 521x611 PNG images when i include all of the images in the script and press play it works fine. When i export the file and test the index.htm it seems to stop functioning when i include over 24 images. Is there something i need to change in the code?

Also the 'box' seems to cut off the bottom right of the images i have set up the size to match the PNG size so im a little confused why it doesnt display correct this also displays correct when i press the play button locally.

If anyone has any cool ideas what processing could do with these images please let us know.

Many Thanks
Al
Re: Animation problem
Reply #1 - Apr 6th, 2010, 5:24am
 
That's 60 rather big images, so you use quite a good chunk of memory. You probably have tighter memory constraints in applet than in PDE, hence your issue.
IIRC you cannot increase yourself the memory of an applet, that's a setting set by the user. Perhaps you can find a better way to do your animation?
Page Index Toggle Pages: 1