rocinantealpha

reference / pictures

record

Records every frame of the window as a movie until no record: record "clip.apng" makes an animated PNG with nothing else installed, and record "clip.mp4" (also .mov, .webm, .mkv and .gif) makes a video with ffmpeg, when it is installed. Each frame the sketch draws is one frame of the movie, played at 60 frames a second. A plain name goes in the sketch's output folder, an absolute path is used as it is, and the folders are made. The movie ends at no record, or when the window closes.

fill goldcircle at 200 150 radius 80text "press r to start and stop recording" at 60 270on key "r" [ record "clip.apng" ]on key "e" [ no record ]
what it draws: the whole window, 400 by 300
What the example of record draws

How to write it

record name

Related