1

i am not shure, if there are many Processing-people inside Stackoverflow, anyway:

What is the fastest way to generate an animated .gif-file out of Processing 2?

Thanks in advance!

2 Answers2

2

You've got a couple of options:

  1. Use the gifAnimation library
  2. Save an image sequence from Processing, then encode a gif with an external tool (like ImageMagick,GIMP, Photoshop, etc.)

Also check out this answer for more details

Community
  • 1
  • 1
George Profenza
  • 50,687
  • 19
  • 144
  • 218
1

George's answer is correct if you want to do this programatically, and it's what you should do if you care about gif quality.

Another quick and dirty alternative is to capture your screen directly.

I use a tool called ScreenToGif. You can record your sketch directly, without any exporting or encoding on your end.

Here is another question with a bunch of similar tools.

Kevin Workman
  • 41,537
  • 9
  • 68
  • 107