9.10: Reset a Sketch with Button Click - p5.js Tutorial

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=lm8Y8TD4CTM



Category:
Tutorial
Duration: 4:50
58,922 views
651


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: https://github.com/shiffman/Video-Lesson-Materials/tree/master/code_p5.js

Contact: https://twitter.com/shiffman

All JavaScript/p5.js videos: https://www.youtube.com/user/shiffman/playlists?sort=dd&view=50&shelf_id=14

Help us caption & translate this video!

http://amara.org/v/QbtV/

📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct







Tags:
p5.js
p5js
p5
mousePressed
createButton
p5.dom.js
p5.dom
p5 dom
tutorial
javascript
html5
html
button
html button
javascript (programming language)
tutorial (media genre)