r/creativecoding • u/bodytherapy • 7d ago
I grew up watching starling murmurations or "Black Sun" in Ribe, Denmark. So together with Claude Code, I built a starling flock you can fly inside.
Every spring and autumn, hundreds of thousands of starlings gather over the marsh at dusk and black out the sky. You start on the dike, fly into the flock, become one of the birds, and after about three minutes they pour into the reeds.
The numbers come from research on real flocks: seven nearest neighbours, turn waves, and a falcon that strikes the edge of the flock. Click the flock and it scatters. All the sound is generated live with Web Audio, no audio files.
Live (sound on): https://www.attabird.com/sortsol