Simple example of how to set up p5 within a class
To run:
Ensure express is installed with npm install express
Run node server.js and navigate to http://localhost:8080.
You should have a canvas in the top-left corner of the screen where you can draw a continuous stream of circles (white by default, black when the mouse is pressed).