Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 808 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 808 Bytes

this is all pretty outdated: new readme coming soon

drawr.js

A small html5 canvas drawing library focused on user (mouse/touch) input rather than programmable input.

Just include drawr.js in your html file: <script src="../drawr.js"></script>

Then just make sure you have an html5 canvas with an id:

<canvas id="myCanvas"></canvas>

Hook drawr up to the id:

drawr.start('myCanvas');

Lastly, in the current version, start drawring (input COLOR & pen SIZE):

drawr.draw('red', 4);

That's it! You're drawring now!!

Coming Soon!

  • drawr.clear();
  • drawr.eraser();
  • drawr.disable();
  • drawr.start(canvasId, canvasWidth, canvasHeight);
  • drawr.save(save_name, save_data);
  • drawr.fill();
  • Path drawring
  • Shape selector
  • Layers
  • touch support - added 12/9/14