Exploratory Programming series - Particle Life Simulation in Godot
"Complexity from Simplicity"
Source Code is available on GitHub - Run and modify the Godot code yourself to try it out!
https://github.com/ThePathfindersCode...
Learning new stuff is great! Here's the compute shader walkthru that shows the inner workings of the Godot Particle Life simulator.
We're using a GLSL Compute Shader and asymmetric particle interactions to create life-like emergent behaviors. Witness particles pulling and pushing each other, colliding, and reacting in real-ish-time as we try different configurations and create some digital lifeforms and artistic visuals.
00:00 Intro
00:45 Setting the Stage
02:03 Where the Pieces Live
02:54 How the GPU Thinks About It
04:26 How Godot Thinks About It
06:01 Starter Worlds and Species Interactions
07:46 Godot Interactive Controls
09:00 Compute Shader: Simulate, Clear, Draw
12:22 The Brute-Force Reality
13:36 Setups Worth Trying
14:04 Wrap-Up and Next Steps