Skip to content

flaight

light → flight → flaight.

By Dominic Neuburg — MIT License

Choreography library for Crazyflie drone light shows. This project is maintained with the help of vibe coding. Define timed sequences of movements and light effects in Python, simulate them without hardware, and fly them for real.

What makes flaight different

The centrepiece feature: describe a show in plain language — "two drones take off, fly apart and alternate between red and blue" — and flaight uses a local language model (via Ollama) to turn that description directly into a Show object. No generated code is executed: the model returns structured JSON that flaight safely converts into drone actions.

Key features

  • Hand-craft shows with a clean Python API — keyframes, actions, colors
  • Simulate without hardware — instant printout or real-time dry-run
  • Collision detection — automatic safety check before every run
  • AI parser — describe shows in plain language in any language
  • Two AI modes — follow explicit instructions, or let the model design a thematic performance
  • CLIflaight interactive session, no script needed
  • Export — save any AI-generated show as a standalone Python script

Next steps