Creating a local server. Hosting a shared, collaborative drawing canvas. Broadcasting messages between clients and the server using node, express, p5.js and socket.io.
To run this code: Make sure you have node installed on your machine.
- Download source.
- Open source directory in terminal.
$ node server.js
- Open the client running at: http://localhost:3000/
Inspired by Daniel Shiffman ("The Coding Train")