Skill Press

No. 671 · perching-butterfly

Perching Butterfly

A field guide from Meng To

Meng To

When to use it

Animate a small 3D butterfly that banks in flight, approaches an actual plant surface, settles with hinged wings and takes off when disturbed.

Rank
No. 671 of 971
Installs
Not listed yet
Runs in
Codex, Claude, Cursor
Length
213 words · 1 min
Files
2
License
MIT

Get this skill

Download the skill folder (.zip, 2 KB) ↓ · SKILL.md only ↓

Publisher setup

Use the publisher’s setup guide for the tools and files used by this edition.

Open the publisher’s setup guide ↗

The skill, in full

Parent the thorax and four wing surfaces to a body group. Place wing pivots at the thorax and mirror their local flapping axes. Shape the leading and trailing edges separately. Bend the hindwings slightly later than the forewings. Keep a leg or underside reference point for contact.

Store the perch in the plant’s local coordinates. Calculate it from an upward face or branch sample, offset along the surface normal to clear the moss, and update its world pose after any plant transform. When landed, bring the feet to that anchor and preserve a readable dorsal angle. Blend orientations with quaternions and a time-based damping factor.

Move the butterfly through four states. Cruise between nearby waypoints, approach on a shallow curve, settle with smaller wing beats, then take off on a short upward arc. Derive banking from turn rate. Allow the pointer near the perched insect to trigger one takeoff, with hysteresis or a cooldown. A brief landing timeout should steer the insect home without causing a position jump.

Force a landing during review. Orbit past a side view and check for floating feet, backwards approach, crossed wing hinges, and penetration on takeoff. Under reduced motion present the butterfly perched with open wings.

Open the interactive study to inspect the technique.

More in 3D Graphics & Rendering

All 3D Graphics & Rendering skills →

More from Meng To

From MengTo/Skills at 3ec2dc0, MIT. Install counts from skills.sh.