-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I'm not sure if this is possible but in my coding playground prototype:
https://p5.javascript.org.pl/amused-loan?template=none
To record a proper Gif I still need to put P5.capture code in my sketch. Capture frame rate should match frame rate from p5.js
If I want to capture the animation I need to copy paste p5.capture default config:
function setup() {
createCanvas(400, 400);
//noLoop();
frameRate(5);
}
P5Capture.setDefaultOptions({
disableUi: true,
format: "gif",
framerate: 5,
quality: 0.5,
});
To not break the API, how about -1 value will mean that it should take frameRate from P5.js?
Metadata
Metadata
Assignees
Labels
No labels