Based on bsehovac‘s WebGL shader (GitHub)

See the Pen Snowfall WebGL Shader by Nam V (@vnt87) on CodePen.