We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, So this project i made works fine on computers, people can doodle as many times as they want but when used on a phone or ipad there is an issue. On these devices the second you take your finger off the screen it doesn't let you draw again. Not sure how to fix this. . . . `void setup() { size(800, 600); strokeWeight(10); frameRate(10); background(240); endDraw(); }
void draw() { for (int i = 0; i < 2000; i++) { float r = random(0,2000); stroke(r*4); stroke(random(255),random(255),random(255)); line(r, i, r, i); } }
void mouseMoved () { stroke(255); fill(255); ellipse(mouseX,mouseY,26,26); endDraw(); redraw(); }`
Answers
Please fix the formatting of your code.
How are you deploying this to the other devices? As apps or as JavaScript? Can you give us a link to visit?
I used a Wordpress plugin to get my processing projects to work on my website. http://www.ktcreative.casa/confetti/