This is my first nodejs app created with express.js 4 and socket.io 1.
Download it on GitHub
A demo is to: drawing.francescopantisano.it
The app permit to draw on a map in real time with other people in a specified “room”, so only who know the name of the room can access.
You can choose to show/hide the write on the map of the other member, with a “layer system” applied on the canvas.
The canvas is managed with the library jcanvas is very useful.
The room are managed with socket.io, the client connected to are managed by a caching system (node-cache) and a linq library node-linq.
If someone enter on the room after that someone have drawn, the system recover all the written and update the last client connected.
All the drawing action where saved on a buffer to server.
Basic version on github => Download it