This is a basic example on how-to draw in HTML using canvas and jQuery. Example can be integrated in your application with following code:
<div id="bcPaint"></div>
<script type="text/javascript">
$('#bcPaint').bcPaint();
</script>
See demo page for more info.
- Drawing offset on mobile devices.