Starter: personal blog, update & error correction & reply
is the tail of this blog post yesterday, the use of Socket.io library practice, the finished address here.
The code has been uploaded to GitHub, the portal. You can open two browsers to see the effect.
The practical significance is that two people online communication when said do not understand, then there is a whiteboard is good, both can write and draw on the above, help communication.
Move the GitHub Readme--
Online whiteboard, multi-person online collaboration tool based on Socket.io
This project is used to demonstrate the use of Socket.io technology
1. Install node. js
2. Perform NPM install Socket.io under a folder
3. Copy the source code to this folder
4. Execute node main.js
5. Open two browser access http://localhost/
Currently support to draw straight lines, add text, eraser, empty canvas function, you can refer to the source code to add other features themselves.
Can be used for multi-person online communication, play the role of Whiteboard.
Demo Address: Demo address
The main use of the technology is node. JS's Socket.io module for server/client interaction, canvas drawing calls HTML5 's canvas API.
Long-term welcome project Cooperation Opportunity Introduction, project income 10% to reward introducer. Sina Weibo: @ Cold Mirror, qq:908789432.
Online whiteboard, multi-person online collaboration tool based on Socket.io