spite / ccapture.js

A library to capture canvas-based animations at a fixed framerate
MIT License
3.55k stars 406 forks source link

conflict with multiple renderer objects (p5.js) #107

Closed drmarzipan closed 4 years ago

drmarzipan commented 4 years ago

i'm creating my canvas, and inside this canvas I create multiple renderer objects with createGraphics(). as it's still inside my single canvas I thought capturing it wouldn't be a problem, but my sketch isn't rendered at all.

e: is this a problem with global/instance mode?

drmarzipan commented 4 years ago

ok: hasty assumption from my side. when creating a new sketch in the p5 editor, p5.dom.min.js is not included. I already had this problem months ago but forgot about it since I was copypasting the index.html up until this time.