Draw on mobile

Hi there,

I'm trying to create a simple drawing page (lines, rectangles, a menu with some other options...). It works really well on desktop, but on mobile (android and iOS) I have some scrolling problems. If I draw a line or a rectangle it scrolls and draw some terrible lines/rectangles. :( Only if I use "doubletouch" I can draw correctly. Today I wanted to look at this example https://p5js.org/examples/mobile-simple-draw.html because I thought maybe it could help me, but nothing happens. :(

Any ideas? Thanks a lot!

Tagged:

Answers

Sign In or Register to comment.