km0 f818ecf3f7 | 2 years ago | |
---|---|---|
public | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
cover.jpg | 2 years ago | |
destination.html | 2 years ago | |
index.html | 2 years ago | |
package-lock.json | 2 years ago | |
package.json | 2 years ago | |
server.js | 2 years ago |
README.md
DRW
A small app for collecting drawings in real time. Runs on a small express server that connects sources (where to draw) and destinations (where to display) via websockets.
(hei! this is still work in progress! currently adapting some aspects in the server in order to: a. make it open-end and not strictly related to vvvv, and b. make it possible to have more destinations connected to receive the drawings at the same time)
Setup
Clone the repo , move to the directory and install the dependencies using your favourite package manager (npm, yarn, etc.).
Note that to run the app you will need to install Node.js, either on your machine or on a VPS.
For example with npm:
git clone https://git.xpub.nl/kamo/drw
cd drw
npm install
To start the application run
node server.js
or in alternative
npm start
Then open your browser to localhost:3000
and there you can draw.
If you open another tab and navigate to localhost:3000/destination
, there you will receive the drawings. This destination page is just an example!
The app is meant to be open-end, meaning that the destination of the drawing is up to you! (ah ah! less work for us). Originally it was coupled with vvvv, but it can be implemented with any platform supporting the websocket protocol.