Collaborative real-time drawing, sketching & painting
Fast, light weight, easy to maintain. Try the [demo] (http://draw.etherpad.org).
- Install Requirements.
sudo apt-get update && sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
- Install EtherDraw
git clone git://github.com/JohnMcLear/draw.git
- Enter the EtherDraw folder
cd draw
- Run EtherDraw
bin/run.sh
- Make a drawing! Open your browser and visit
http://127.0.0.1:9002
If there is an error with node packages or npm package manager, install the correct versions:
sudo npm install -g n
sudo n 0.10.25
sudo npm install -g npm@1.3.10
- [NodeJS] (http://nodejs.org/)
- Lib Cairo
- Lib Jpeg
- Lib Gif
bin/run.sh - Shell Script to start Server draw/server.js - Server Code, interacts with Client draw/src/static/js/draw.js - Client Code, interacts with Server draw/src/util/draw.js - Server Utility, interacts with Database
- Client connects to Server via :9002
- Client draws path locally
- Client emits draw:progress or draw:end event with path information in JSON
- Server receives draw:* event and JSON
- Server emits draw:* event with JSON to all Clients
- Server draws the path locally and stores in db (so new connections to the room can see drawing)
Apache 2 License
Donate to the [Etherpad Foundation] (http://etherpad.org/#links)