Growing the meadow…
🦋 Butterfly garden
Click a butterfly to send it to a new flower. Drag to orbit, wheel to zoom.
Flying0
Resting0
Landings0
Wing-tip speed0 m/s*
The science

Flight path. Each flight is a quadratic Bézier curve B(t)=(1-t)²P0+2(1-t)t P1+t²P2 from the take-off flower to the landing flower, with the middle control point raised so the butterfly climbs and then descends onto the bloom. The butterfly moves at constant speed along the curve (arc-length parametrisation); the length has a closed form: with A=P0-2P1+P2, C=P1-P0, L=∫₀¹ 2√(|A|²t²+2A·C t+|C|²) dt.

Wings. Both wings rotate about the body axis: φ(t)=φ₀+A sin(2πft) (φ₀=18°, A=50°), so a point at distance R from the hinge has vertical speed R cosφ · dφ/dt. Roughly 5–15 Hz is a typical measured wingbeat range for many butterflies; the slider covers it. At rest the wings fold up and flutter slowly.

Sunflower disc. Seeds sit at the golden angle (137.508°) with radius r∝√n, which makes the Fibonacci spiral families you can see in real flower heads. It is painted into the texture, not simulated.

Honest simplifications. The motion is kinematic: no unsteady aerodynamics (leading-edge vortices, clap-and-fling), no lift/drag balance, and the breeze only bends the flight path and sways the grass. Sizes are stylised (butterflies are drawn much larger relative to the flowers than in nature, so you can see them), so speeds marked * are scene units read as metres. Assets are modelled and texture-baked in Blender (wing patterns, petals, grass, wood, rock).

Independent checks (run on load in your browser):

running…
Drag: orbit · Wheel / pinch: zoom · Click a butterfly: fly to a new flower
Made with 🟠 Blender · Three.js