🧀 BigCheese.ai

Social

Mitosis in the Gray-Scott model: writing shader-based chemical simulations

🧀

The Gray Scott Model of Reaction Diffusion demonstrates how complex patterns can emerge from basic components and reactions in a chemical system. This article introduces shader-based simulations, focusing on writing them using GLSL ES. It provides insights into the underlying math and computation steps, explaining the importance of GPU parallelization and includes a practical implementation example hosted on Shadertoy.

  • GPU can handle parallel computations efficiently.
  • Initial conditions influence emergent behaviors.
  • Gray-Scott model involves auto-catalytic reactions.
  • Diffusion is key for pattern formation.
  • Simulation uses vertex and fragment shaders.