A simulation of fireflies (lighting bugs) floating and lighting up in the night. This animation uses canvas and requestAnimationFrame. You can set various options in the JavaScript code. Look for the "constant" variables (ALL_CAPS).
A Pen by Travis Horn on CodePen.