-
Notifications
You must be signed in to change notification settings - Fork 61
Tutorial Tools
Kevin Workman edited this page May 8, 2017
·
14 revisions
This page mostly contains notes on how I create the tutorial content.
To export a Processing sketch as a gif, first add saveFrame() at the end of the draw() function. Make sure the frame rate is set to something a gif can handle, like 30.
Then open a command prompt at that directory, and type the following:
magick convert -delay 1x30 *.tif animation.gif
(Depending on your setup you can drop the magick part.)
To create a delay at the first frame:
convert -delay 5x1 000.png -loop 1 -delay 1x2 *.png output.gif
See also: this answer by George Profenza on Stack Overflow.