Commit 7394777e authored by amandaghassaei's avatar amandaghassaei


parent 983c1d00
# ReactionDiffusionShader
WebGL Shader for a Gray-Scott reaction diffusion system
<img src=""/>
Live demo at <a href="" target="_blank"></a>
This is a simulation of a <a href="" target="_blank">Gray-Scott reaction-diffusion system</a>, running in a GPU shader.
The parameters for this model are F = 0.0545 and K = 0.062. With these parameters the system forms a mitosis-like pattern, where small cells divide and spread across space.<br/><br/>
Reaction diffusion patterns are interesting, but they can be difficult to control in meaningful ways for design purposes.
In this project I added an underlying vector field that controls the orientation of diffusion across the system to produce directed, global patterns.
Click on the screen to change the location of the sinks in the vector field.<br/>
If this simulation is not performing well on your computer, resize your browser's window to make the simulation smaller.<br/><br/>
The math used to created oriented diffusion is this system is discussed in the papers <a href="" target="_blank">Display of Vector Fields Using a Reaction-Diffusion Model</a>
and <a href="" target="_blank">Reaction-Diffusion Textures</a>.<br/><br/>
More info about ways to control these systems can also be found on <a href="" target="_blank">Karl Sims' Webpage</a>.<br/><br/>
Information about programming a reaction diffusion system on the GPU is here: <a href="" target="_blank">A reaction-diffusion simulation using WebGL</a>.
By <a href="" target="_blank">Amanda Ghassaei</a>, code on <a href="" target="_blank">Github</a>.
......@@ -88,8 +88,12 @@
<div class="modal-content">
<div class="modal-body">
<b>Fluid Simulation Shader</b><br/><br/>
By <a href="" target="_blank">Amanda Ghassaei</a>, code on <a href="" target="_blank">Github</a>.
I used the following sources to write this simulation:<br/><br/>
<a href="" target="_blank">Real-time ink simulation using a grid-particle method</a><br/>
<a href="" target="_blank">Fast Fluid Dynamics Simulation on the GPU</a> - a very well written tutorial about programming the Navier-Stokes equations on a GPU.<br/>
<a href="" target="_blank">Stable Fluids</a> - a paper about numerical methods for evaluating Navier-Stokes on a discrete grid.<br/>
By <a href="" target="_blank">Amanda Ghassaei</a>, code on <a href="" target="_blank">Github</a>.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment