Optimization question about WEBGL

Hi @Omri,

I would say that making the whole canvas WEBGL is more optimized than using createGraphics and drawing it over the canvas since you have an additional overhead during compositing the two.

Also the default mode of p5.js is not PD2 but it uses the native HTML canvas in your browser :wink: (see this)

2 Likes