SkillAgentSearch skills...

ReactionDiffusionSimulator

Simulate and visualize reaction-diffusion models and Turing patterns

Install / Use

/learn @jluebeck/ReactionDiffusionSimulator
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ReactionDiffusionSimulator

Watch an example simulation on YouTube.

Simulates Reaction Diffusion models This tool simulates a number of reaction-diffusion systems and produces Turing patterns. Optionally, the images may be saved sequentially and can output images to string together in an animation.

Requirements

Python with numpy and matplotlib packages installed.

Examples

Example usage 1:

python ReactionDiffusion.py -o my_simulation --moviemode -n 10000

This will output files with the prefix "OutputPrefix" into a directory of the same name, and as the moviemode flag is set, it will store 250 images for animation. User will be prompted for model type

Example usage 2:

python ReactionDiffusion.py -o my_simulation2 -m GM -n 5000

Instead uses the Gierer-Meinhardt activator-inhibitor model (-gm).

Supported models

Currently supports the following reaction-diffusion systems (output results of ReactionDiffusion.py shown below).

Gray-Scott

"Complex Patterns in a Simple System", John Pearson, Science 1993

Solitons

<img src="https://github.com/jluebeck/ReactionDiffusionSimulator/blob/master/images/solitons.png" width="640">

Coral

<img src="https://github.com/jluebeck/ReactionDiffusionSimulator/blob/master/images/coral.png" width="640">

Maze

<img src="https://github.com/jluebeck/ReactionDiffusionSimulator/blob/master/images/maze.png" width="640">

Waves

<img src="https://github.com/jluebeck/ReactionDiffusionSimulator/blob/master/images/waves.png" width="640">

Flicker

<img src="https://github.com/jluebeck/ReactionDiffusionSimulator/blob/master/images/flicker.png" width="640">

Worms

<img src="https://github.com/jluebeck/ReactionDiffusionSimulator/blob/master/images/worms.png" width="640">

FitzHugh-Nagumo

"FitzHugh–Nagumo model", Wikipedia <img src="https://github.com/jluebeck/ReactionDiffusionSimulator/blob/master/images/fitzhugh_nagumo.png" width="640">

Gierer-Meinhardt

"Gierer-Meinhardt model", Scholarpedia <img src="https://github.com/jluebeck/ReactionDiffusionSimulator/blob/master/images/gierer_meinhardt.png" width="640">

View on GitHub
GitHub Stars26
CategoryDevelopment
Updated2mo ago
Forks3

Languages

Python

Security Score

90/100

Audited on Jan 9, 2026

No findings