Reaction Diffusion

🔗 Code Example: Reaction Diffusion

🔗 References:

🔗 Footage Credits:

🔗 Timestamps:

  • 1:21 Approach

  • 3:56 Create two 3D arrays to store A and B values

  • 7:42 Draw grid and color it based on values from arrays

  • 10:42 Implement the Gray-Scott model

  • 14:14 Write laplace function

  • 19:52 Fix out-of-bound error with modulo expression (%)

  • 24:24 Make it interactive (adding chemical by pressing mouse)

Previous

Interactive Truchet Tiles

Next

Pixel Sorting