pwambach / angular-canvas-painter

Angular.js directive to paint on a canvas on desktop or touch devices
MIT License
116 stars 35 forks source link

Is it possible to change the cursor over the canvas to match the "brush" size? #23

Open DannyWithaY opened 8 years ago

DannyWithaY commented 8 years ago

I'm looking for a way to not only change the cursor to a circle when mousing over the canvas (that part isn't really the issue, should be easy enough to figure out) but also change that circle dynamically to match the brush size selected by the slider. Is that possible and if so, how would I need to go about accessing the brush size data? I'm still pretty new to Angular so any ideas or hints are helpful :)

This is a great tool, really enjoying it!

pwambach commented 8 years ago

Sorry for the long pause. Do you mean to paint a circle like cursor to the canvas at the mouseposition? The resizing according to the brush size shouldn't be a big problem.