Small app for collaborative drawing
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.
 
 
 
km0 880320d9b8 wildcard 2 years ago
public small refactor + web destination client 2 years ago
.gitignore test express 2 years ago
README.md readme 2 years ago
cover.jpg add readme wip 2 years ago
destination.html small refactor + web destination client 2 years ago
index.html small refactor + web destination client 2 years ago
package-lock.json dotenv 2 years ago
package.json dotenv 2 years ago
server.js wildcard 2 years ago

README.md

DRW

Drawing a bird

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.