Line is drawn choppy on fast mouse movements
Issue
When you draw a line with your mouse very quickly across the screen, you get this choppy line. Would like the line to not have a bunch of gaps in it.
Idea for Solution
This will probably require some kind of interpolation as a user moves a mouse across the screen.
https://user-images.githubusercontent.com/10369095/156856405-011c9afe-7f77-485c-af14-27d9bc2c3b9a.mov
I'm working on a solution to this issue, but it is involving a complete rewriting of the way you handle the canvas. Instead of using individual divs, I'm using the javascript canvas element. This makes many things easier. It will soon be finished. You can take a look at my fork of the project to get an idea.
I'm working on a solution to this issue, but it is involving a complete rewriting of the way you handle the canvas. Instead of using individual divs, I'm using the javascript canvas element. This makes many things easier. It will soon be finished. You can take a look at my fork of the project to get an idea.
Amazing, so happy that you want to make a contribution to the project! 🎉
Yeah, the divs are definitely a little clunky. Honestly, the whole project was inspired by a blogpost where someone created a canvas-like structure made out of a grid of divs.
Excited to see what you come up with.
@gillo04 Any insights on your end? Juggling a few other projects atm so don't have the bandwidth to be on this 🙂
Heads up, will probably start working on this soon. Lmk if you still want to contribute your branch.
Hey 👋 Me and @Raphaelmos are students at the Paris 8 University (French) and we'd love to be assigned to this task as part of our "free software development" course ! We are looking forward to contributing to this project and we are ready to start working on it.
Hi! Amazing, that would be great. :)
Im happy for you to open up a PR and get started on the feature.
Please feel free to ping me as well if you have any questions at all. 🙏
On Wed, Feb 14, 2024 at 1:44 PM Viet Nguyen @.***> wrote:
Hey 👋 Me and @Raphaelmos https://github.com/Raphaelmos are students at the Paris 8 University (French) and we'd love to be assigned to this task as part of our "free software development" course ! We are looking forward to contributing to this project and we are ready to start working on it.
— Reply to this email directly, view it on GitHub https://github.com/Kully/pixel-paint/issues/8#issuecomment-1944398522, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPDQRYWU3L4Q7XNIZ437W3YTUA2XAVCNFSM5P62L4N2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJUGQZTSOBVGIZA . You are receiving this because you authored the thread.Message ID: @.***>
CC @Viet281101 @Raphaelmos
We are looking forward to contributing to this project and we are ready to start working on it.
Out of curiosity, have you folks gotten a chance to start on this. No worries if you haven't :)