Skip to content

capture finish

NHibiki edited this page Dec 4, 2018 · 1 revision

Capture Class

Manual

capture.finish(callback)

Finish recording and return p5Gif instance.

var recorder = p5Gif.capture();
    recorder.start();
        
    ... // some code here

    recorder.stop();
    recorder.finish(function (myGif) {
        gif = myGif; // save the instance
    });

Cheers

NHibiki

Clone this wiki locally