Coding Adventure: Developing a Grid-Based Smoke Simulation

An exploration into creating a grid-based fluid simulation to generate realistic smoky effects. Support the project for early access to videos and source code.

Sebastian Lague450.2K views41:40

🔥 Related Trending Topics

LIVE TRENDS

This video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!

THIS VIDEO IS TRENDING!

This video is currently trending in India under the topic 'ad'.

About this video

My attempt at coding a grid-based fluid simulation to try and achieve some smoky effects! Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source Code: Currently in early access (see links above), but will be available to everyone on 11 November. Resources and References: Fluid notes: https://www.cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf Ten-minute physics: https://www.youtube.com/watch?v=iKAVRgIrUOU My other fluid videos: https://youtube.com/playlist?list=PLFt_AvWsXl0dJrPelwdVSMVC_MDTYPJWn&si=Z5cOCDSI1aS4fe_C Sound wave simulation: https://www.youtube.com/watch?v=iA6wRgwl7k0 Music: https://raw.githubusercontent.com/SebLague/Misc-Project-Info/refs/heads/main/Coding-Adventures/Smoke Chapters 00:00 Intro 00:50 Navier-Stokes Equations 02:00 Divergence 05:09 Solving for Pressure 08:26 Gauss-Seidel Iteration 10:36 Solid Cells 12:26 Velocity Interpolation 15:15 Advection (with derivatives) 18:37 Semi-Lagrangian Advection 22:12 Testing 23:43 Successive Over-Relaxation 25:16 Visualizing Speed 26:32 Smoke Map 28:14 Parallel Pressure Solving 31:13 Vortex Shedding 35:48 A Few Little Experiments 37:55 Temperature 39:17 Final Smoke Experiments 40:38 Outro

Video Information

Views
450.2K

Total views since publication

Likes
26.9K

User likes and reactions

Duration
41:40

Video length

Published
Oct 11, 2025

Release date

Quality
hd

Video definition

Captions
Available

Subtitles enabled