We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello world, i'm still fairly new to processing
Is there any way we can load a moving gif rather than just a static one? Let's say the image file is called 'river'
I am aware of the contolP5 library, maybe this has something to do with the solution?
Any help would be greatly appreciated Thanks, Benj
Answers
As far as I know, there is no library that directly supports gifs. Instead, you can make a work around by cycling through a collection of images. Processing has an offical example here which hopefully can help you get on your way : https://processing.org/examples/animatedsprite.html
If you need an example using your gif, give me the gif and I'll gladly make it for you if you're stuck.
https://Forum.Processing.org/two/discussions/tagged/gifanimation
Search for gif on the libraries page.
http://extrapixel.github.io/gif-animation/
this is newer :https://github.com/01010101/GifAnimation
Hello All,
I want to upgrade my classroom to Processing 3 but we are deeply dependent on the GifAnimation library that works like a charm with Processing 2. (We do alot of interactive info-graphics and illustrattions).
I have read through this and not found an answer: https://Forum.Processing.org/two/discussions/tagged/gifanimation
I know how to manually install a library with Processing 2 and how to use the new library installation feature with Processing 3.
This page says the Gif library works with Processing 3 but it doesn't (I swear, maybe I just don't get it): https://github.com/01010101/GifAnimation
This page states it doesn't work with Processing 3: http://extrapixel.github.io/gif-animation/
This example is too much of a stretch for a beginning high school interactive arts class (and the teacher at this time): https://processing.org/examples/animatedsprite.html
I was hoping that by now there would be an update to the library but it seems like this will be awhile. So, we will stay in Processsing 2 for now. Unless, someone knows something that I can't find? :)
Oh please do share if you do! Thanks for reading!
Margaret
Frankly, you're not losing that much staying w/ P2, given P3 hasn't brought much to Processing's API.
In comparison, from P1 to P2, new features were huge! :P
Hi GoToLoop,
For whatever reason I didn't get the memo that when you download the updated version of the GifAnimation library that you rename its out folder. DoH! Such a small thing - I guess I should have thought of that -pretty pleased now - thank you!
Re: Processing 3 - I want to upgrade because I think the reminders about syntax errors in comments might help my students. However, it kind of annoyed me (I know you can turn it off). I was also wondering if this could hurt learning - like the idea that spell check stopped people from learning how to spell :)
B/c you're not the OP of this forum thread, you don't receive reminders. :-@
Unless some1 quotes your nick w/
@
like this: @mnoble. B-)And I was stupid and forgotten to do so. b-(
Dunno whether it might be explained somewhere else, but I believe the outer folder gotta match the ".jar" file's name. 8-|