SketchPad release

SketchPad release

Sketch
Image drawn using the SketchPad app

SketchPad is a project I’ve done to learn the HTML5 <canvas> element and to use it to create something that is usable. As a result is a minimal drawing tool that is able to export the drawn image to a file on the user’s computer.

From a programming point of view, the application is extensible, utilising JavaScript’s prototypal inheritance – and the task of adding new shapes in addition to the available circle, rectangle/square and equilateral triangle is trivial.

I conservatively made use of some ES2015 features like arrow functions, string interpolation and the spread syntax. The web application should work properly on all newer browser versions. It is also responsive and handles both mouse and touch gestures.

Live demo: https://lunararcanus.github.io/SketchPad/

The source code is available here: https://github.com/LunarArcanus/SketchPad

Leave a Reply

Your email address will not be published. Required fields are marked *