The dance of swarming flies

Imagine yourself as a small fly called a midge (shown in Figure 1a). You used to live in a lake as a small larva with no concerns in life except swimming, eating, and growing. One day, you hid underwater and formed a cocoon around your body as it developed wings, legs, and antennae. A few days later, you swam to the surface and burst out of your cocoon as an adult fly -- a male. As a new adult male, you find the clock ticking – you have only a few days to find a mate before you die.