ccapture.js
ccapture.js copied to clipboard
FYI: p5.js 0.9.0 is the last version that works with ccapture.js
I tested with the latest versions, they all dont work, the last one that ccapture works with is p5.js version 0.9.0. I didnt debug it in detail , but the problem is that the p5js canvas doesn't render as soon as you call capturer.start();
... the p5js canvas doesn't render as soon as you call
capturer.start();
.
I've found out a workaround when the same happened to me!
I had to move capturer.start();
into draw() and only invoke it when frameCount reached 1
:
frameCount === 1 && capturer.start();
https://Glitch.com/edit/#!/ccapture-bouncing-colorful-balls-demo?path=sketch.js https://ccapture-bouncing-colorful-balls-demo.Glitch.me
tried that, it works, thanks, this will help a bunch of people!
It doesn't work with the latest P5.js as soon as I call capturer.start()
the animation stops.