Fireflies in the Forest

Fireflies flash bioluminescent light produced by a luciferin-luciferase reaction in their abdomens, a species-specific pulse pattern males use to signal for mates while females answer from the ground; some species like Photinus carolinus even flash in loose synchrony across a swarm. This scene renders each firefly as a GPU point sprite with a short fading trail, driven by a custom GLSL glow shader with additive blending; every firefly independently wanders along a smooth lissajous-like drift path and blinks by modulating point alpha with a per-firefly sine "flash" phase plus random dark rest periods, mimicking the on/off flash-and-glide behavior seen in the wild.

Firefly count
220
Trail length
6 pts / firefly
Technique
Points + GLSL glow shader
Flash freq range
0.5-1.5 Hz
Trees
90 silhouettes
1.0
1.0
220