-
Notifications
You must be signed in to change notification settings - Fork 5
capture controllers
NHibiki edited this page Dec 4, 2018
·
1 revision
Controllers to control on the record state of capture.
To start record the frames in the background.
var recorder = p5Gif.capture();
recorder.start();
To stop the capturing immediately (the record cannot be started again)
var recorder = p5Gif.capture();
recorder.start();
... // some code here
recorder.stop();
To pause recording the frames immediately, (in this case, you can start again (with resume) to continue recording later)
var recorder = p5Gif.capture();
recorder.start();
... // some code here
recorder.pause();
... // some code here
recorder.resume();