Drawing on a Html5 Canvas element
submitted on 2/26/2013 by Codicode
+ infos Config Embed

Drawing on a Html5 Canvas element

Use the mouse to draw on the canvas surface, you can change the pen width and colors ...

by Chtiwi Malek.
Source : http://www.codicode.com/art/how_to_draw_on_a_html5_canvas_with_a_mouse.aspx
Framework 1 :
Framework 2 :
+ Js file(s) :
+ Css file(s) :
Apply

Link :

Direct http link :

Fork button :

Html code :

Embed preview :

Copy the following html code to your page to embed the preview,
To include many previews on a single page, just repeat the first line.
You can change the width, height and border color (bcolor).
<div class="refork-widget" code="fcc" style="width:100%;height:200px;" bcolor="#ccc"></div>
<script type="text/javascript" src="//refork.com/d/z.js"></script>
HTML
CSS
Javascript
©2013 Copyright refork.com Privacy - Terms of use - About - Contact