How to Code - Realistic Canvas Fireworks

How to Code - Realistic Canvas Fireworks

Chris Courses via YouTube Direct link

Add gravity and friction

8 of 12

8 of 12

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. 1 Project overview
  2. 2 Initial canvas setup
  3. 3 Add click event listener to populate particles array
  4. 4 Render particles on click
  5. 5 Add particle velocity for ring expansion effect
  6. 6 Add randomness to ring expansion
  7. 7 Create light trail effect
  8. 8 Add gravity and friction
  9. 9 Fade particles out over time and remove from canvas
  10. 10 Colorize particles 🎉
  11. 11 Speed-run / additional firework examples
  12. 12 Outro / Intro to chriscourses.com

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.