9.14: Loading Animation - p5.js Tutorial

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



Category:
Tutorial
Duration: 22:30
38,086 views
498


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: https://patreon.com/codingtrain

Send me your questions and coding challenges!

Contact: https://twitter.com/shiffman

Links discussed in this video:
JavaScript Closure video: https://youtu.be/-jysK0nlz7A

Source Code for the Video Lessons: https://github.com/CodingTrain/Rainbow-Code

p5.js: https://p5js.org/
Processing: https://processing.org

For more p5.js videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZmA-d3D0iFIvgrB5_7kB8H

Help us caption & translate this video!

http://amara.org/v/Qz5g/

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







Tags:
js
p5
p5.js
tutorial
loading
animation
javascript
javascript (programming language)
creative coding
p5.js tutorial
p5 js
p5js
asynchronous callbacks
callbacks
javascript loading bar
javascript progress bar
loading animation javascript
loading animation
preload()
javascript callbacks
p5.js callbacks
loadSound()
loadImage()