Completed
Add gravity and friction
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
How to Code - Realistic Canvas Fireworks
Automatically move to the next video in the Classroom when playback concludes
- 1 Project overview
- 2 Initial canvas setup
- 3 Add click event listener to populate particles array
- 4 Render particles on click
- 5 Add particle velocity for ring expansion effect
- 6 Add randomness to ring expansion
- 7 Create light trail effect
- 8 Add gravity and friction
- 9 Fade particles out over time and remove from canvas
- 10 Colorize particles 🎉
- 11 Speed-run / additional firework examples
- 12 Outro / Intro to chriscourses.com