Jeftaei / draw

0 stars 0 forks source link

Gaps between pixels drawn #3

Closed Jeftaei closed 3 months ago

Jeftaei commented 3 months ago

drawing is currently decided by CursorMoved window events, MouseMove device events might be better (not sure) but to fill these gaps ill probably just draw a line between the current and previous point and color in pixels the line touches

https://github.com/Jeftaei/draw/assets/67933106/90822f81-5283-48d3-83b1-02e79b660975

Jeftaei commented 3 months ago

fixed with 715facc

using some algorithm to get the pixels inbetween, probably in a inefficient way because im bad at math but whatever

Jeftaei commented 3 months ago

https://github.com/Jeftaei/draw/assets/67933106/5944dfbf-e775-49ca-b928-8f6c9ca793ce