Get new jQuery plugins just once a week
September 7, 2012
Artisan js | library for in-browser drawing
- One Line Declarations
Among the many things that ActionScript does well is their use of single-line declarations. Canvas, on the other hand, has a series of steps that you go through for each item you want to create
artisan.drawRectangle(target, start_x, start_y, width, height, fill_color);
- Stacks and Layering
At any time, you can add shapes to a layer and then render the layers of a stack individually.
So to back up to something you just rendered, you can re-render the layer with the “previous” history
Created by David N Brooks
js library that aims to make in-browser drawing very
Sign up for our weekly newsletter.