# P5js web editor - Web workers do not work

**URL:** <https://discourse.processing.org/t/p5js-web-editor-web-workers-do-not-work/46043>\
**Category:** p5.js\
**Created:** [March 22, 2025, 5:58pm UTC](https://discourse.processing.org/t/p5js-web-editor-web-workers-do-not-work/46043 "2025-03-22T17:58:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [March 22, 2025, 5:58pm UTC](https://discourse.processing.org/t/p5js-web-editor-web-workers-do-not-work/46043/1 "2025-03-22T17:58:59Z")

</div>

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

 ![Screenshot 2025-03-22 at 17.50.37](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/b/5/b5533c9fc678a472b9a7b4c6857f5cb7508edb80.png)

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.

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [March 23, 2025, 11:46am UTC](https://discourse.processing.org/t/p5js-web-editor-web-workers-do-not-work/46043/2 "2025-03-23T11:46:01Z")

</div>

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

I have created a [simpler sketch](https://editor.p5js.org/quark-js/sketches/7CjKpWsSy) to show the problem and created a p5js web editor [issue](https://github.com/processing/p5.js-web-editor/issues/3414).
