Coding Adventure: Ant and Slime Simulations @SebastianLague
Coding Adventure: Ant and Slime Simulations  @SebastianLague
Uploaded March 2021 | Updated November 2026, 2 days ago
A small exploration of an algorithm inspired by ants, and some little experiments into simulating some of the behaviour of ants and slime moulds. I hope you enjoy!

Source code (slime): github.com/SebLague/Slime-Simulation
Source code (ants): github.com/SebLague/Ant-Simulation
If you'd like to get support the channel, and get early access to future projects, you can do so here: patreon.com/SebastianLague

Links to some learning resources and cool videos / projects:
Slime pattern paper uwe-repository.worktribe.com/output/980579
Slime write-up and cool examples sagejenson.com/physarum
Ant simulation video by Pezzza youtu.be/81GQNPJip2Y
Slime video by Deep Look youtube.com/watch?v=Nx3Uu1hfl6Q
Physarum project by Michael Fogleman github.com/fogleman/physarum

Chapters:
0:00 Intro
0:17 Traveling Salesperson Problem
1:36 Ant Colony Optimization
4:37 Creating a Visual Ant Simulation
9:15 Unleashing the Ants!
10:16 Side-tracked by Slime
14:07 Single Slime Experiment
16:02 Multiple Slime Species

Music:
Forest Overture by Yehezkel Raz
Honey Bee Waltz by Kadir Demir
Newborn by Roie Shpigler
Joking by Kadir Demir
Joyfulness by Kadir Demir
Wakeup Call by Ran Raiten
Anthill by Kadir Demir
Synesthesia by Michael FK
A New Horizon by Cloud Wave
Selfless by Eleven Tales
Reel by Anbr
Coding Adventure: Ant and Slime Simulations[Unity] Programming Practice: Sliding Blocks 2/2Introduction to Game Development (E17: reference vs value types)Introduction to Game Development (E02: classes)Procedural Landmass Generation (E16: colour shader)Procedural Landmass Generation (E17: texture shader)Unity Create a Game Series (E14. game over)INTEGRATION 02 - Making an RPG in Unity (E08)[Unity] Programming Practice: Sliding Blocks 1/2Character Creation (E07: Unity character controller)Experimenting with Buses and Three-State LogicI Tried Coding my own Graphics Library
Sebastian Lague |

Coding Adventure: Ant and Slime Simulations

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER