Okkkiiee so when I was young, it’s an age using Processing.
Now, it’s P5.js.
And Shawn also make a serialport library for P5.js so the browser can talk to Arduino without sweat. No terminal, Node.js, websocket, modules and stuff. Whoo. But since not everyone has an Arduino with you all the time, here’s the standalone version, of my Spider Cookie sketch two years ago!