P5js web editor - Web workers do not work

I have been messing about with p5.geometry and created a 3D Mandelbrot viewer. This is a sample screenshot.

The sketch uses a web worker to calculate the Mandelbrot set but when I upload it to the p5js web editor the worker fails to do its stuff.

I have found some other example sketches using web workers and they don’t work either. Is this a web editor issue and if so does anyone know of a work around.

I tested the web editor in Firefox and Safari and neither run web workers successfully.

I have created a simpler sketch to show the problem and created a p5js web editor issue.

1 Like