Setup method runs twice

In case anyone else encounters this problem, I finally managed to solve it, and it was down to the way that I wasn instantiating processing and assigning the setup and draw methods. I’ve documented it in this thread: How to access p5js functions when using ES6 modules

1 Like