This week was the start of two courses (Creative Coding on Futurelearn and Creative Programming for Digital Media & Mobile Apps on Coursera.org about creative programming in Processing) and I blogged about them in my main blog. Since I have already done some of the assignments some time ago, I focused on some things that I knew about, but did not do so far.
- Save single frame images and combine them later with other tools or
- use a library that creates the gif while the program is running.
I tried both and both worked fine, at least in part. I was able to install gifsicle, but it would not run properly so I did what anyone would do who already has some experience with ImageMagick, I used the usual convert to do the trick.
I will need some more tries to determine, which method to use more because they seem to have different effects on the speed of execution of the sketches. This doesn’t really matter, when the animations are generated by code alone, because the framerate will be the same for the exection as for the gif, but it produces much different output when human interaction is part of the sketch.