WebCode is a vector drawing app that instantly generates JavaScript+Canvas, CSS+HTML, or SVG code. While you are designing HTML5 games, infographics, or Web user interfaces, WebCode tirelessly writes the code for you!
Developed from the ground up with resolution-independence in mind, the code generated by WebCode works great on both Retina and non-Retina displays. WebCode also imports SVG and PSD files, so if you already have some of these, you can easily reuse them.
JavaScript+Canvas.
If you are doing a lot of HTML5 Canvas drawing, WebCode