Quantcast
Channel: FlexMonkey
Viewing all articles
Browse latest Browse all 257

Triple the Reaction Diffusion Fun with Ternary Coupled Gray Scott System

$
0
0

Here's another reaction diffusion experiment: three Gray Scott models coupled together. This gives some nice effects when wavefronts at different spatial and temporal scales act as catalysts and inhibitors to the other systems.

The standard Gray Scott equation looks like this (thanks to mrob.com):



I've changed the third term (known as the replenishment (for u) and diminishment (for v) term) so that for uone
  • F(1 - uone) becomes F(1 - vtwo
...and  for vone
  • (F + k)vone becomes (F + k - √(utwo2 + uthree2)) vone
I've also added some random noise and a step function into the diminishment term.

There's a load of preset recipes accessible via the drop down in the top left and, after some post production tinkering with After Effects, I've ended up with some nice looking results:




The application is written using Flex and runs in the Flash Player. It's available here and, as always, the source code is available here.



Viewing all articles
Browse latest Browse all 257

Trending Articles