Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Reaction-Diffusion simulation with C++, SFML, & Cuda

Based on the Coding Train video and the subsequent C++/SFML contribution by 'Deedone'

This version is simplified and rewritten to include CUDA support for the simulation, so larger simulation grids can run faster. Also, the reaction part of the equation was abstracted to a function, so they can be swapped out for models other than the Gray-Scott

Samples

1000x1000 Realtime (f: 0.055, k:0.062) alt text

How to run

  • Make sure you have the SFML and CUDA libraries installed (latest).
  • Build: make all
  • Run: ./diffusion