jackschaedler / goya

Pixel art editor built on Clojurescript + Om
Eclipse Public License 1.0
1.69k stars 67 forks source link

Connect points when using draw tool #8

Closed jackschaedler closed 10 years ago

jackschaedler commented 10 years ago

Since mouse-move events might not be fast enough to pick up every contiguous pixel touched in a stroke, we need to connect subsequent mouse-over events with some simple line drawing algorithm - maybe bresenham?

jackschaedler commented 10 years ago

Done. Also added a line tool.