Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This short project tutorial shows how to code a galactic light-trail effect with JavaScript and canvas. It covers randomized particles, canvas rotation, particle glow and color, edge filling, and mouse interaction.
Syllabus
Project overview
Initial canvas setup
Creating randomized particles
Randomize particle radii
Rotate the canvas to create spin effect
Spawn particles off the canvas to fill in edges due to translate
Randomize particle colors
Create glow effect for each particle
Add light trail effect on mousedown
Outro / Intro to chriscourses.com
Taught by
Chris Courses