0
p5.js draw() function
Hello, javascript library p5.js by default has a function draw() which is an infinite loop, I've tried to use it on SoloLearn, and it did not work. It draws elements only once. Is there a workaround? Or should I use a JS timer instead?
1 Antwort
+ 2
It seems to work just fine for me.
https://code.sololearn.com/WvpvJ44OrFib/