video thumbnail 6:40
Coding Adventure: Simulating an Ecosystem

2019-06-10

[public] 1.43M views, 91.7K likes, 413 dislikes audio only

channel thumbSebastian Lague

In this coding adventure I attempt to simulate a simple ecosystem. Will the foxes and rabbits get along? Probably not...

If you'd like to support the creation of more programming videos like this, please consider becoming a patron here:

https://www.patreon.com/SebastianLague

This video was inspired by Primer's series on evolution. I highly recommend taking a look!

/youtube/video/0ZGbIKd0XrM

As many in the comments have said, if you enjoy this, you may want to check out equilinox, which is an entire game based around creating an ecosystem. It’s awesome. https://youtu.be/lHHpMn2UK6s

Source code:

The source for this video is a total mess, which I don't really want to share!

I'm working on a second part though, and you can find the work-in-progress code for that here: https://github.com/SebLague/Ecosystem-2/tree/master

Music from https://filmmusic.io:

"Inspired", "Deadly Roulette", and "Le Grande Chase" by Kevin MacLeod (https://incompetech.com)

Licence: CC BY (http://creativecommons.org/licenses/by/4.0/)


Intro
/youtube/video/r_It_X7v-1E?t=0
Bunnies
/youtube/video/r_It_X7v-1E?t=26
Rabbits
/youtube/video/r_It_X7v-1E?t=171
Sebastian Lague Hello, on this channel I explore how to create stuff out of code. I hope you find some of it interesting!
/youtube/channel/UCmtyQOKKmrMVaKuRXz02jbQ
Coding Adventures by Sebastian Lague
/youtube/video/vTMEdHcKgM4
Support on Patreon patreon.com
https://www.patreon.com/SebastianLague/
Game Dev Tutorials by Sebastian Lague
/youtube/video/DiIoWrOlIRw