Pen in 3D and Firefox

With respect to https://forum.zimjs.com/t/pen-planet-textureactive-for-codepen-challenge-on-spheres - drawing with the Pen in TextureActive:

The idea is cool but this dies in Firefox. I have noticed that I can't do cache-ing or my apps die in Firefox. At least the computer I am on currently with a GT 1030 gpu.

Yes - I see what you mean. The Pen example in TextureActive Studio is slower too but does not totally bog.

Pen in general in Firefox seems a bit slow. What does this in yours?

Blitting does seem to improve performance. I am not harping on it too much but I do test all my projects in chromium, firefox, and sometimes safari.

I just remembered that we added a throttle test to the TextureActive examples when we launched ZIM 015. We did not in this case - let's add it.

// THROTTLE TEST
// on some older mobiles updating the cache constantly can bog at 60 fps
let fps; const fpsT = Ticker.add(()=>{fps = Ticker.getFPS();});
timeout(2, ()=>{if (fps < 50) {Ticker.setFPS(30);}; Ticker.remove(fpsT);});

Okay - the Pen is still slower but that seems to solve the bog on my Firefox. Not the happiest of answers... but maybe FF will solve whatever is causing it one day. We could mention it to them?