Home
Branch Lab
Butterfly Lab
Crane Folding
🦋 Butterfly Swarm
Lateral (top↔bottom) wing motion + slight axial twist
Population
Number of Butterflies
6
Total instances in the scene
Distribution Pattern
Random Scatter
Horizontal Line
Staggered Wave
Grid Formation
Center Cluster
Initial spawn positioning
Spawn Delay
0ms
Time between butterfly spawns
Variation
0.10
Per-butterfly parameter randomness
Physics
Flap Rate
4.0 Hz
Wing beat frequency
Flap Power
0.8
Gravity
0.26
Downward acceleration
Wing Motion
Wing Rock (lateral)
1°
Top↔bottom tilt around a horizontal axis (rotateX)
Wing Twist (axial)
30°
Feathering about the wing axis (rotateY)
Wing Rotation — Advanced
Ease Power
2.0
1=linear, 2=quadratic (default), 3=cubic…
Rock Rest Offset
0°
Twist Rest Offset
0°
Rock Phase
0°
Twist Phase
0°
Twist Symmetry
Opposite
Opposite (L +, R −)
Same (L +, R +)
Hinge X Offset L/R
-2 / +2
Hinge Y Offset
0
Body Drift
Lateral Drift
0.40
Drift Frequency
0.015
Respawn
Dark
Export
Copy a drop‑in snippet or download a JSON config for use on any page.
Copy Embed
Copy External HTML
Download JS
Download Config
Lateral + Axial
CSS
rotateX()
drives top↔bottom wing rock; CSS
rotateY()
adds axial twist. Advanced panel exposes rest offsets, phase, hinge, and symmetry.