Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Code - Realistic Canvas Fireworks

Chris Courses via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to create realistic canvas fireworks in this 29-minute tutorial. Master techniques for expanding particles in a ring formation, adding randomness, implementing deceleration, gravity, and friction, and creating trail effects for stunning explosions. Follow along to set up the canvas, add click events, render particles, apply velocity for ring expansion, incorporate randomness, create light trails, add physics, fade particles, and colorize the fireworks. Includes a speed-run of additional examples and an introduction to further resources on chriscourses.com.

Syllabus

Project overview
Initial canvas setup
Add click event listener to populate particles array
Render particles on click
Add particle velocity for ring expansion effect
Add randomness to ring expansion
Create light trail effect
Add gravity and friction
Fade particles out over time and remove from canvas
Colorize particles
Speed-run / additional firework examples
Outro / Intro to chriscourses.com

Taught by

Chris Courses

Reviews

Start your review of How to Code - Realistic Canvas Fireworks

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.