Awesome
Brownie
This is a canvas toolkit in coffeescript, it can be used to build a static image/text designer.
Features
- high-dpi
- layers - only one canvas is used
- absolute/relative position
- z-index of layer
- bring layer to frontend
- hit test on layer
- keyboard util
- layer drag-drop
- history stack
- layer handler - move/rotate/delete/resize
- image layer
- double click on layer
- editable text layer
- auto line breaks
- mask to bounds
- stage exportable&importable
Usage
- clone this repo
- run
npm install
under repo directory - run
git submodule init
- run
git submodule update
- run
cake build
- open
test/example.html
to view the examples 😆
Document
Coming...
Licence
MIT