1.4 KiB
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.