A canvas in your browser. Literally.
JavaScript CoffeeScript Other
Pull request Compare This branch is 30 commits behind literallycanvas:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
demo
gen
img
js
lib
scss
src
.babelrc
.gitignore
CHANGES.txt
LICENSE
Makefile
README.md
README.txt
README_release.txt
bower.json
bower_release.json
gulpfile.js
literallycanvas.sublime-project
package.json

README.md

Literally Canvas v0.4.13

Literally Canvas is an extensible, open source (BSD-licensed), HTML5 drawing widget. Its only dependency is React.js.

Get help on our mailing list: mailto:literallycanvas@librelist.com (just send it a message to subscribe)

Full documentation

Examples

This is all it takes:

<div class="literally with-jquery"></div>
<script>
  $('.literally.with-jquery').literallycanvas();
</script>

<div class="literally without-jquery"></div>
<script>
  LC.init(document.getElementsByClassName('literally without-jquery')[0]);
</script>

Developing

Setup: npm install --dev

Watching and serving: gulp dev

Browse to localhost:8000/demo and modify demo/index.html to test code in progress.

To generate a production-ready .js file, run gulp and pull out either lib/js/literallycanvas.js or lib/js/literallycanvas.min.js.