Uploaded April 2025 | Updated November 2026, 1 day ago
In this lesson, we refine our simulation workflow by using structs, functions, and multi-buffer strategies to create scalable, efficient, and maintainable GLSL simulations. By structuring particle attributes inside custom data types (structs) and implementing modular update functions, we improve code readability and simulation complexity without unnecessary computation overhead.
π Key Topics Covered:
β Structs in GLSL β Storing position, velocity, acceleration, and color efficiently
β Function Return Types & Parameters β Using in, out, and inout for particle updates
β Best Practices for GPU Simulations β Optimizing with minimal branching & efficient loops
β Multi-Buffer Storage β Organizing large-scale simulations across multiple output buffers
π¨ Exercises & Challenges:
π οΈ Create a flow-field particle system that reacts to Perlin noise
π οΈ Implement a strange attractor simulation (Halvorsen, Aizawa, etc.)
π οΈ Optimize a particle system with instancing and orientation-based movement
π οΈ Debug using pixel viewers & point clouds in TouchDesigner
π Refine your GLSL simulation skillsβwatch now!
π Find me online:
π Project Files & Patreon: patreon.com/water__shed
π Portfolio: lakeheckaman.com
π· Instagram: instagram.com/lake_heckaman
00:00 - Intro - GLSL Simluations in TouchDesigner (2)
01:09 - GLSL "Structs"
02:48 - GLSL Functions, Types, Arguments
06:33 - GLSL Programming Best Practices for Simulations
11:06 - A word on debugging shaders in TouchDesigner
11:55 - Begin TouchDesigner Examples
14:31 - Advanced Particle System Design
28:00 - Age / Respawn Particles
34:54 - Oriented particles
37:47 - Lorenz Attractor System
45:37 - Exercises
In this lesson, we refine our simulation workflow by using structs, functions, and multi-buffer strategies to create scalable, efficient, and maintainable GLSL simulations. By structuring particle attributes inside custom data types (structs) and implementing modular update functions, we improve code readability and simulation complexity without unnecessary computation overhead.
π Key Topics Covered:
β Structs in GLSL β Storing position, velocity, acceleration, and color efficiently
β Function Return Types & Parameters β Using in, out, and inout for particle updates
β Best Practices for GPU Simulations β Optimizing with minimal branching & efficient loops
β Multi-Buffer Storage β Organizing large-scale simulations across multiple output buffers
π¨ Exercises & Challenges:
π οΈ Create a flow-field particle system that reacts to Perlin noise
π οΈ Implement a strange attractor simulation (Halvorsen, Aizawa, etc.)
π οΈ Optimize a particle system with instancing and orientation-based movement
π οΈ Debug using pixel viewers & point clouds in TouchDesigner
π Refine your GLSL simulation skillsβwatch now!
π Find me online:
π Project Files & Patreon: patreon.com/water__shed
π Portfolio: lakeheckaman.com
π· Instagram: instagram.com/lake_heckaman
00:00 - Intro - GLSL Simluations in TouchDesigner (2)
01:09 - GLSL "Structs"
02:48 - GLSL Functions, Types, Arguments
06:33 - GLSL Programming Best Practices for Simulations
11:06 - A word on debugging shaders in TouchDesigner
11:55 - Begin TouchDesigner Examples
14:31 - Advanced Particle System Design
28:00 - Age / Respawn Particles
34:54 - Oriented particles
37:47 - Lorenz Attractor System
45:37 - Exercises
![Untitled - Lake Heckaman
[WIP] applying this algorithm to some more scans, this one was captured in garden near a home I was staying at over the summer
generative artwork created by lake heckaman
Find me online:
πΉ Learn with me on Patreon: https://www.patreon.com/water shed
πΉ Portfolio: https://www.lakeheckaman.com
πΉ Instagram: https://instagram.com/lake_heckaman Untitled - Lake Heckaman](https://i.ytimg.com/vi/xlNbgLwmy1Y/mqdefault.jpg)
![macro videography x touchdesigner
[wip] macro videography x real time shaders x @touchdesigner
such a fun exploration - excited to see where this path leads
w/ @new grid macro videography x touchdesigner](https://i.ytimg.com/vi/y1x2tOHWKZM/mqdefault.jpg)



