Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 894 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 894 Bytes

rave-painter

RavePainter  – an actionscript class aimed to make polygonal shapes written in [spark path notation] (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/primitives/Path.html#data). Main concept inspired by brush tool of Flash IDE. Flash IDE gives unique vector painting expirience due to speed and simplicity. Those features have been achieved by using bitmap tracing. So the RavePainter includes bitmap canvas and bitmap brush. After each mouse stroke RavePainter converts content of bitmap canvas to string of shape description. String can be rendered with PathRenderer class. Some concepts of bitmap tracing was given from [potrace algorithm] (http://potrace.sourceforge.net). However RavePainter at current state much more simple. It can be treated as a prototype.

[Try Demo] (http://pecheny.github.io/rave-painter/RasterPainter.swf)