FitzwilliamMuseum / fitz-kaleidoscope

A GLSL Kaleidoscope generated using Fitzwilliam Museum artworks
https://kaleidoscope.fitz.ms
1 stars 3 forks source link

Doesn't start properly on Firefox #27

Closed matthewarcus closed 3 years ago

matthewarcus commented 3 years ago

Firefox seems to get confused over loading the fragment shader (console log indicates it loads a dummy shader first and then the proper one, which doesn't seem to get initialized properly). It works for me if I change canvas.js to:

const sandbox = new GlslCanvas(canvas, { fragmentString: frag })

and deleting the line:

sandbox.load(frag)

(Original & fixed version work with Chrome - this is on Ubuntu 20.04)

portableant commented 3 years ago

@o-s-warren have you see n this comment from @matthewarcus (thank you!)

o-s-warren commented 3 years ago

Ah fantastic! Great fix, thank you @matthewarcus

matthewarcus commented 3 years ago

Glad to be of service...

Website looks good now on FF.

portableant commented 3 years ago

This also closes #15 Woohoo! Thanks @matthewarcus