https://editor.p5js.org/lohoso/present/Td-myBfmT
The sketch works on laptop, but does not work on my iPhone.
Anyone can help?
https://editor.p5js.org/lohoso/present/Td-myBfmT
The sketch works on laptop, but does not work on my iPhone.
Anyone can help?
It works on my iPhone SE running Safari on iOS 13. What model, version and browser are you on?
I use iPhone XS max, iOS 13.3.1. I tried Safari & Chrome on it, but both fail.
And I try to open it on an android phone, the sketch works.
The canvas in your sketch is pretty large (2000×968 px). Maybe you’re hitting the maximum canvas size for your specific device. Try making the canvas a lot smaller, like 300×300 px.
To know for sure what’s happening you should hook up your iPhone to your Mac and use the Web Inspector to debug the problem.
I changed size of canvas, it works on my iPhone! Thanks a lot!