Using P5 on OffscreenCanvas?

Short answer: not yet :slight_smile:

OffscreenCanvas is still not entirely supported by all browsers but it has been announced that this should be resolved this year.

We’ve discussed this on the p5.js Discord before and here is what @davepagurek had to say about OffscreenCanvas:

If you’re specifically interested in offscreen buffer performance, you might want to check out Dave’s p5.framebuffer library.

I hope this helps. Let me know if you have any other questions.

3 Likes