You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# collective drawing editor
|
|
|
|
|
|
|
|
![editor](drawing.png)
|
|
|
|
|
|
|
|
this is a collective drawing editor. its like a etherpad but for drawings. current functions:
|
|
|
|
* change line cap
|
|
|
|
* change color
|
|
|
|
* change line width
|
|
|
|
it uses [socket.io](https://socket.io/)
|
|
|
|
|
|
|
|
### installation
|
|
|
|
1. install nodejs
|
|
|
|
* debian
|
|
|
|
> $ sudo apt install node
|
|
|
|
* os x
|
|
|
|
> $ brew install node
|
|
|
|
* else
|
|
|
|
information on the website https://nodejs.org
|
|
|
|
2. install npm
|
|
|
|
* debian
|
|
|
|
> $ sudo apt install npm
|
|
|
|
* os x
|
|
|
|
> $ brew install npm
|
|
|
|
* else
|
|
|
|
information on the website https://docs.npmjs.com/
|
|
|
|
3. clone the repository
|
|
|
|
> $ git clone https://git.xpub.nl/joak/colletive-drawing/
|
|
|
|
4. change directory
|
|
|
|
> $ cd collective-drawing
|
|
|
|
4. install the dependecies
|
|
|
|
> npm install
|
|
|
|
5. run it
|
|
|
|
> $ node index.js
|