File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -556,11 +556,11 @@ p5.prototype.encodeAndDownloadGif = function(pImg, filename) {
556556} ;
557557
558558/**
559- * Creates an array of frames from the canvas that can be saved as images.
559+ * Captures a sequence of frames from the canvas that can be saved as images.
560560 *
561- * Each frame is stored as an object with its file type, file name, and image
562- * data as a string. For example, the first saved frame might
563- * have the following object :
561+ * `saveFrames()` creates an array of frame objects. Each frame is stored as
562+ * an object with its file type, file name, and image data as a string. For
563+ * example, the first saved frame might have the following properties :
564564 *
565565 * `{ ext: 'png', filenmame: 'frame0', imageData: 'data:image/octet-stream;base64, abc123' }`.
566566 *
You can’t perform that action at this time.
0 commit comments