Coding Adventure: Ant and Slime Simulations
Sebastian Lague6 HN recommenders · recommended in 5 months, 2021-2024
2.2M views · 5 years ago · demo · evergreen
Sebastian Lague explores an ant-inspired algorithm and simulates ant and slime mold behavior, using compute shaders. Source code for both simulations is available.
HN recommends it as a beautiful example of what simple rules and compute shaders can produce, and many commenters were inspired by it.
0:31ants simulation
Hugh Lomas
2K views • 12 years ago
4:10Karl Sims - Evolved Virtual Creatures, Evolution Simulation, 1994
MediaArtTube
797K views • 17 years ago
4:09Evolved Virtual Creatures (1994)
karlsims
43K views • 6 years ago
16:01How life emerges from a simple particle motion law: Introducing the Primordial Particle System
Artificial Life Lab Graz
497K views • 9 years ago
2:01Enemies – real-time cinematic teaser | Unity
Unity
1.9M views • 4 years ago
26:13Animation Bootcamp: An Indie Approach to Procedural Animation
GDC Festival of Gaming
786K views • 9 years ago
3:53:11Shader Basics, Blending & Textures • Shaders for Game Devs [Part 1]
Freya Holmér
1.9M views • 5 years ago
5:58MarI/O - Machine Learning for Video Games
SethBling
11.5M views • 11 years ago
42:00I painted a Landscape with Mathematics
Inigo Quilez
812K views • 4 years ago
5:05New Voxel Engine Reveal - Crystal Islands Experiment
John Lin
394K views • 5 years ago
30:46Alex Evans at Umbra Ignite 2015: Learning From Failure
Media Molecule
68K views • 11 years ago
1:07:26Procedurally Crafting Manhattan for Marvel's Spider-Man
GDC Festival of Gaming
89K views • 7 years ago
24:02Learn to Paint with Mathematics
Inigo Quilez
191K views • 12 years ago
14:28Superpositions, Sudoku, the Wave Function Collapse algorithm.
Martin Donald
764K views • 6 years ago
0:51Hyperbolica: A Non-Euclidean Adventure [Old Trailer]
CodeParade
662K views • 6 years ago
18:18I Tried Turning Games Into Text
Acerola
571K views • 2 years ago
1:25:348 Bit & '8 Bitish' Graphics-Outside the Box
GDC Festival of Gaming
568K views • 9 years ago
10:14Making a heart with Maths
Inigo Quilez
112K views • 9 years ago
5:43:06LIVE Coding "Happy Jumping"
Inigo Quilez
106K views • 7 years ago
31:00Exploring the Tech and Design of Noita
GDC Festival of Gaming
288K views • 6 years ago
6 comments from Hacker News
At the time I was lost joy of coding too but I was able to found it again. One key point was to ignore learning new tech if it was not absolutely necessary and focus just creating new things. I think it all started from Sebastian Lague's video which reminded how beautiful coding can be. [ ▶ this video ]
Sebastian Lague made an excellent video "Ant and Slime Simulations" which explores how path-finding algorithms can use trails and gradient-based signaling to solve spatial problems: ▶ this video
I love ants and replicating their behavior in code! You might like these projects: "Coding Adventure: Ant and Slime Simulations" by Sebastian Lague: Video: ▶ this video Code link "C++ Ants Simulation 1, First approach" by Pezzza's Work: Video: link Code: link
Thanks for sharing this! I have not watched the full video yet but definitely will. Recently got interested in compute shaders thanks to this video: ▶ this video and can recommend it to those that want to see a bit of what is possible with compute shaders.
Speaking of ant and slime simulation, this recent video Coding Adventures video was pretty mind blowing: ▶ this video (Especially part 2 starting around 10m in).
This reminds me of a coding adventure YT video that replicates slime molds in Unity, look at the end to see some high res videos of it - ▶ this video