Getting multitouch working in p5.js

I've just made a basic demo to try experimenting with multitouch within p5.js:

https://jgl.github.io/Reactickles3/TouchDemonstration/

You can find the source code below:

https://github.com/JGL/Reactickles3/blob/master/docs/TouchDemonstration/sketch.js

I'm drawing a circle on every touch, but only one ever gets picked up. What am I doing wrong?

Tagged:
Sign In or Register to comment.