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.
- Host: GitHub
- URL: https://github.com/benmaier/reaction-diffusion
- Owner: benmaier
- License: mit
- Created: 2018-12-14T16:01:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-17T21:06:58.000Z (about 7 years ago)
- Last Synced: 2024-10-11T11:06:24.217Z (over 1 year ago)
- Topics: matplotlib-animation, python3, reaction-diffusion
- Language: Jupyter Notebook
- Size: 51.8 MB
- Stars: 86
- Watchers: 4
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).

## 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