in1004kyu / literallycanvas

A canvas in your browser. Literally.

Home Page:http://www.literallycanvas.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Literally Canvas v0.4.14

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

Get help on our mailing list by sending an email to literallycanvas+subscribe@googlegroups.com or by visiting Google Groups.

Along with the CSS, JS, and image assets, this is all it takes:

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

Developing

Setup: npm install --dev

Watching and serving: gulp dev

Browse to localhost:8080/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.

About

A canvas in your browser. Literally.

http://www.literallycanvas.com/

License:BSD 2-Clause "Simplified" License


Languages

Language:CoffeeScript 83.1%Language:JavaScript 12.1%Language:CSS 4.2%Language:Makefile 0.6%