Code Monkey home page Code Monkey logo

collaborativedrawingpad's Introduction

CollaborativeDrawingPad
=======================

A collaborative drawing pad tool created with client-side HTML5/JavaScript and server-side NodeJS JavaScript.

This drawing tool is based off code by Martin Angelov (http://tutorialzine.com/2012/08/nodejs-drawing-game/). To run this tool, you need NodeJS and you need the following NodeJS packages:

1) socket.io
2) node-static

In the root directory of the source, run the command 'node app.js' to start the server on port 8080. To connect clients, simply open a web browser (with HTML5 and JavaScript support) and connect to localhost:8080 (or [your_ip_address]:8080).

This tool includes some basic functionality, including the ablility for multiple users to draw together on a shared drawing space. The following has been implemented so far:

* Basic drawing
* Multiple colours
* Change thickness of strokes (does not work as hoped, but still gives a neat effect)
* Ability to see other users drawing and other users' cursors
* Ability to clear the drawing pad
* Server saves the state of the drawing pad, so new clients will be presented with the current state of the drawing pad

Features to implement:

* Eraser
* Different style brushes / stroke patterns
* Touch support
* Ability to save images
* Ability to uniquely identify users based on name and cursor colour

collaborativedrawingpad's People

Contributors

brennanjones avatar

Stargazers

Martin Puškáč avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.