Effect
Firefly Swarm
Kuramoto-coupled fireflies drifting on a divergence-free flow: random blinking slowly locks into sync, with ripples of light rolling through the swarm. Use for night, garden, forest, magical scenes.
Settings and defaults
- Intensity
- 1
- Speed
- 1
- Opacity
- 1
- Color
- #6f7d45
- Count
- 150
- Coupling
- 1
- Frequency
- 0.55
- Spread
- 2.4
- Drift Speed
- 1
- Glow Size
- 1
- Flash Color
- #d4ff5c
Firefly Swarm fills the air around an object with fireflies that blink at random at first and then slowly fall into step, until waves of light roll through the swarm. Then the rhythm loosens again and the cycle repeats, so the scene never settles into one pattern.
How it works
Every firefly has its own inner clock and flashes each time it completes a cycle: a quick rise and a fast fade. Each one is nudged toward the timing of its close neighbours. Because the pull is local, synchronised patches form here and there, grow and meet, and the small timing differences between them show up as ripples of light travelling across the swarm. The strength of that pull slowly rises and falls, so the swarm drifts in and out of sync instead of locking up for good. Between flashes each firefly is a faint dot. The swarm wanders on gentle currents that stir it without bunching it up, and keeps clear of the object and the floor.
Settings
- Count: from twenty to four hundred fireflies.
- Coupling: how strongly neighbours pull each other into step; 0 never syncs.
- Frequency: flashes per second.
- Spread and Drift Speed: the size of the swarm and how fast it wanders.
- Glow Size, Color (the bodies) and Flash Color.
Use it for
Night gardens, forests, summer evenings, romantic and magical scenes. Pair it with Sea Sparkle for glowing water.
Code and API
Ready-to-paste React Three Fiber code and the 3DRise API are included in paid plans, inside the studio.
More effects
Murmuration
A starling murmuration: thousands of boids with topological neighbours swirl around a drifting roost, folding into dense, wave-like sheets. Use for dusk, wildlife, flocking, atmospheric scenes.
Aura
Soft pulsing glow shell around the object. Use for magical, mystical, holy effects.
Dandelion Seeds
Dandelion seeds let go of the head one by one and drift away: a high-drag pappus gives them a slow terminal fall, and curl-noise wind with updrafts carries them. Use for meadow, summer, wish, gentle scenes.
Falling Leaves
Leaves drifting past the object, each one integrating the Andersen-Pesavento-Wang falling-plate equations, so they flutter, glide and tumble like real leaves.
Flares
Radiating lens flares with glow. Use for bright lights, magical shines, cinematic effects.
Glyphs
Floating symbols or runes circling the object. Use for magic, arcane, mystical effects.
Works well with
Aurora Veil
Soft emerald-to-chartreuse halo drifting at a slow, dreamlike pace
CoronaAmethyst
Purple amethyst quartz with mystical appearance, popular semi-precious stone
CrystalAura Glow
An aura glow cursor: a soft iridescent halo with electric tendrils that follows the mouse. For wellness, magic and dreamy scenes.
CursorCryo Magma
Slow violet cryo-magma with big lazy cells drifting under a soft lilac rim
LavaDying Ember
Dim charred coals, mostly cooled — heat only shows where the crust fractures
LavaPetal peel
Peel a 3D object into flakes that flutter to the ground like leaves, or keep them lifted like raised scales.
Object effect