Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delay while drawing #275

Open
rave974 opened this issue Jan 23, 2022 · 4 comments
Open

delay while drawing #275

rave974 opened this issue Jan 23, 2022 · 4 comments

Comments

@rave974
Copy link

rave974 commented Jan 23, 2022

while drawing a line with the pen, the end of the line wich should be under the pen can't keep with the pen speed and remains behind while the pen is moving.
this is a big drawback, cause the main purpose of mspaint is speed, it doesnt work as fast as mspaint when drawing.

@lafoxxx92
Copy link

How fast do you draw the line
or
How slow What is your device/settings?

@rave974
Copy link
Author

rave974 commented Jan 24, 2022

the faster i move the pen, the more distance pixels remain behind. in mspaint the pixels follow the pen no matter the speed.
how can i check my device settings? i dont know what you mean, im running in chromium browser

@lafoxxx92
Copy link

Original mspaint had same issue. The faster you move the pen, the more data is being issued to the program, resulting in slower processing speed. Since JS code is executed in your browser (on your device), I'd suggest trying faster device.

@1j01
Copy link
Owner

1j01 commented Mar 26, 2022

Unfortunately browsers limit the rate that mouse data is available. There's a relatively new event that's supposed to address this, pointerrawupdate, but in my testing I couldn't see any particular improvement. At least, it's not satisfyingly fast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants