In this p5.js tutorial, I demonstrate how to create a loading animation (progress bar) in JavaScript. The preload() method is covered, as well as how to use callbacks to track loading multiple media files asynchronously.

Support this channel on Patreon:

Send me your questions and coding challenges!


Links discussed in this video:
JavaScript Closure video:

Source Code for the Video Lessons:


For more p5.js videos:

Help us caption & translate this video!