WenheLI / p5.gif

P5.js gif helper
MIT License
38 stars 4 forks source link

start() yields this.stopAfter error #5

Closed shiffman closed 5 years ago

shiffman commented 5 years ago

Tested this in the p5.js web editor (see: https://editor.p5js.org/icm/sketches/rkQeIbi0m)

let gif;

function setup() {
  createCanvas(400, 400);
  gif = p5Gif.capture();
  gif.start();
}

Error: Uncaught TypeError: this.stopAfter is not a function (sketch: line 8)

NHibiki commented 5 years ago

get fixed in 7422d8ce71912cf20c3c4773776faf8f9bf85f26