-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
The lesser known ms paint feature #348
Comments
What version of MS Paint supports this? And what tools? Edit: I found it in Windows 11's MS Paint. (I don't know why but it didn't seem to work the first time I tried.) So it works by moving the actual mouse cursor. I can't do this in JS, not in the browser. Browsers don't let webpages move the cursor for security reasons. However I could implement something that hides the real cursor and shows a fake one inside the web page. Looks like they support drawing with the brush/pencil, creating selections with the selection tool, creating shapes, and even focusing UI under the mouse by pressing space, although there are some UX problems like there's apparently no way to accept a shape with the keyboard without moving it out of the way enough for pressing space to click off of it instead of resizing it. (I would expect Enter to work but it doesn't.) All in all, it seems like a pretty nice feature. They also have mouse acceleration, where if you hold the arrow keys down it starts to go faster, giving it a balance of precision and speed. I'm mainly targeting recreating MS Paint from Windows 98, but this is definitely something I would add in "from the future", as it's largely invisible (doesn't add any GUI that would detract from the nostalgia). However the fact that I can't directly move the mouse cursor (as well as the UX problems/bugs noted above) means that it would require some UX consideration. This feature is similar to the dwell clicking and head tracking features I've been building, and perhaps could share the same code for hover halos, clickable element filtering, and mouse movement and clicking simulation. |
When you hold space in ms paint, you can use the arrow keys to draw similarly to an etch-a-sketch.
The text was updated successfully, but these errors were encountered: