Cocos Brush
A Sample project demostrating how to use cc.Graphics as a brush to draw customized lines
How to use
- Open
Scene/brush-sample-scene
- Change
Bursh Type
onDrawingCanvas
- Run the sample and draw with your mouse
- Press
space
to see watch replay
Demo
Reference
http://perfectionkills.com/exploring-canvas-drawing-techniques/