[ad_1]
This video looks at how to “reset” a p5 sketch on the click of a button. The example uses the p5.dom library and createButton() / mousePressed() functions.

code:

Contact:

All JavaScript/p5.js videos:

Help us caption & translate this video!