An open API service indexing awesome lists of open source software.

https://github.com/benmaier/reaction-diffusion

Some Python examples to obtain reaction-diffusion results and animations.
https://github.com/benmaier/reaction-diffusion

matplotlib-animation python3 reaction-diffusion

Last synced: 10 months ago
JSON representation

Some Python examples to obtain reaction-diffusion results and animations.

Awesome Lists containing this project

README

          

# Reaction-Diffusion simulations

This repository contains some Python examples to obtain
reaction-diffusion results and animations as the one shown below.

For an explanation/tutorial, see the [Jupyter notebook](https://github.com/benmaier/reaction-diffusion/blob/master/gray_scott.ipynb)
and also the one [with animations attached](https://github.com/benmaier/reaction-diffusion/blob/master/gray_scott_with_animations.ipynb).

![gray-scott-animation](https://raw.githubusercontent.com/benmaier/reaction-diffusion/master/img/gray_scott.gif)

## References

* Tutorial on Reaction-Diffusion http://www.karlsims.com/rd.html
* Gray-Scott model http://mrob.com/pub/comp/xmorphia/
* online Gray-Scott model: https://mrob.com/pub/comp/xmorphia/ogl/index.html
* Tutorial on animations in matplotlib https://matplotlib.org/examples/animation/dynamic_image.html
* A numerically more sophisticated implementation but without animation: https://rajeshrinet.github.io/blog/2016/gray-scott/
* show animations in notebooks 0: http://louistiao.me/posts/notebooks/embedding-matplotlib-animations-in-jupyter-as-interactive-javascript-widgets/
* show animations in notebooks 1: http://louistiao.me/posts/notebooks/embedding-matplotlib-animations-in-jupyter-notebooks/
* write animation to a file: https://matplotlib.org/2.1.2/gallery/animation/basic_example_writer_sgskip.html
* make a gif from video https://superuser.com/questions/556029/how-do-i-convert-a-video-to-gif-using-ffmpeg-with-reasonable-quality