9.1: JavaScript setTimeout() Function – p5.js Tutorial




This video covers the setTimeout() function in JavaScript in the context of p5.js. setTimeout() allows you to execute a given function at a specific time (in milliseconds.)

https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setTimeout

All examples: https://github.com/shiffman/Video-Lesson-Materials

Contact: https://twitter.com/shiffman

Next video: https://youtu.be/CqDqHiamRHA

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

Help us caption & translate this video!

http://amara.org/v/Qbtc/

Original source


9 responses to “9.1: JavaScript setTimeout() Function – p5.js Tutorial”

  1. Hey Daniel! That's a handy looking keyboard shortcut where you commented out a chunk of highlighted code. What is it?

    EDIT: Nevermind, I worked it out. Ctrl + / for anyone else wondering.

Leave a Reply