You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to not call draw(), pass the optional third argument NoRedraw=true (the canvas is still cleared)
Output a .gif
Use saveGif('yourFileName', durationInSeconds). To autorecord, put it in setup(). For a keypress, add it to keyPressed().
Usage notes:
It uses the sketch's framerate, not actual time. With the default fps of 60 a "5 second" gif would be however long it takes to capture 300 (60 * 5) frames. See: frameRate()