do you get any output in the JavaScript console of your browser
No, and that’s a problem. I’m using macOS Big Sur version 11.6, Processing 4.0b2, and Safari on a Mac mini(2018). Here’s what I see: