w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
html5 canvas drawing becomes jagged on tablet

not sure if you've found an answer for this but I had a similar issue and finally managed to solve it. Drawing lines on canvas on galaxy tab 2 and 3, also galaxy note 10.1(2012 edition, no problem on 2014 edition) can create jagged lines. Same applies for Izzey's jsfiddle. If your issue is the same as mine then the device is picking both mousemove and touchmove.. It basically draws the line twice with messed up mousemove values. Have a look at this http://jbkflex.wordpress.com/2012/07/12/javascript-touch-event-or-mouse-event-detect-and-handle-according-to-device/ It worked for me. I really hope this helps.. :)





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.