chanind / hanzi-writer

Chinese character stroke order animations and practice quizzes
https://hanziwriter.org
MIT License
3.47k stars 539 forks source link

graphic tablet support for drawing #259

Open camerooncameroon opened 2 years ago

camerooncameroon commented 2 years ago

Hello! Thanks for the great tool to learn Chinese. My issue is that hanzi quizzes are not working well with graphic tablet. The strokes are very short (even though I make full length ones) and are not recognized. (Drawing in Paint and other graphic editors works fine). I attach some videos to explain the problem. Hope it could be fixed if that's possible. Perhaps query intervals shall be greater or else parameter adjusted so that Javascript doesn't give up on getting data from the stroke whilst being drawn?

https://user-images.githubusercontent.com/78047188/147463542-0074ff93-f1fb-4f24-9e4b-200c1e5cb6db.mp4

https://user-images.githubusercontent.com/78047188/147463550-4c9556eb-412b-4efd-a0d0-deaee153f9ce.mp4

https://user-images.githubusercontent.com/78047188/147463553-37dacad5-af4a-478a-94bd-5e86c61b0561.mp4