Git Product home page Git Product logo

literallycanvas's Introduction

Literally Canvas

Literally Canvas is an extensible, open source (BSD-licensed), HTML5 drawing widget that currently supports a minimal set of drawing operations. You can draw, erase, set the color with the eyedropper, undo, redo, pan, and zoom. It depends on jQuery.

Get help on our mailing list: [email protected] (just send it a message to subscribe)

Usage

Full documentation

Literally Canvas depends on jQuery (tested on 1.8.2).

First, download the tarball or install with bower (bower install literallycanvas). Then do this:

<link href="/static/css/literally.css" rel="stylesheet">
<div class="literally"><canvas></canvas></div>
<script>$('.literally').literallycanvas();</script>

(You may have to tell it where to find the images. See the installation instructions for more information.)

For options and other information, see the full documentation.

The color picker is derived from (but not identical to) this one by Stefan Petre. We intend to replace it in the next version.

Developing

You'll need coffee-script and uglify-js2 installed via npm, and sass via gem. Build with make.

If you pip install livereload, you can make livereload and open http://localhost:33233/demo in your browser to get a live-updated demo.

literallycanvas's People

Contributors

irskep avatar campaul avatar ksornberger avatar konfiot avatar ankona avatar fluke avatar

Watchers

Jim Dunne 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.