Skip to content

mconintet/brownie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brownie

This is a canvas toolkit in coffeescript, it can be used to build a static image/text designer.

demo

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

  1. clone this repo
  2. run npm install under repo directory
  3. run git submodule init
  4. run git submodule update
  5. run cake build
  6. open test/example.html to view the examples 😆

Document

Coming...

Licence

MIT

About

A canvas toolkit in coffeescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published