Boids... in spaaaace!


  • Tweak flocking behavior in real-time
    • Cohesion, Separation, Alignment, and more!
  • Feed entities with energy pellets
  • Observe emergent phenomena
  • Explore the superstructure


ActionKeyboardGamepad (Xbox)
Launch FoodSpaceR Trigger / A
Switch Food TypeTabY
Toggle Photo ModePX
Take ScreenshotSpaceR Trigger / A

AttributionsSource code

PlatformsWindows, macOS, HTML5
Release date 54 days ago
Made withUnity
Tags2D, Pixel Art, Relaxing, Space, Unity
Code licenseMIT License
Average sessionA few minutes
InputsKeyboard, Gamepad (any)


Download 34 MB
Download 45 MB


Log in with to leave a comment.


This was so lovely! I've been trying to piece together the boids algorithm in Unity for a minute now cause it just looks so cool! This was such an awesome demonstration. At first I thought it was cool enough just being among the boids but when I found the food pellets and saw the crazy behaviours that blew me away!

Plus I loved the music in this demo, was it from a free source

Thanks for trying this out! Sweet - I'm stoked that you discovered the food sources. I had hoped that was intuitive enough for players to find.

I went off of this example (source code) as the main basis for the boids algorithm, definitely recommend checking that out if you're curious. All of the code for this game is also open source as well though admittedly it's a bit more complex than the Ben Eater example.

Glad you liked the music! I'm also a musician and created this ambient track in Logic Pro for this game. Incidentally this track is also available on my BandCamp page.

I'm unaware of what I am supposed to do

Thanks for giving it a try! This is just a stylized Boids simulation (Sebastian Lague's video does a good job of describing what this is).

So there's not really an objective or game loop other than to fly around, mess with parameters, acquire food sources, and take screenshots.

oh my bad


Awesome. Really love the art style as well

Hey thanks so much!