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

Latest Updates to ReDiLab - Reaction Diffusion in Stage3D and AGAL

$
0
0

This week sees a few new updates to ReDiLab - my Stage3D / AGAL based reaction diffusion laboratory.

First off, my lovely friends at Finkk designed the funky logo above which lives in the 'about' dialog. 

There are two changes to the application itself:

Coupled Gray Scott Reloaded




I used last week's reengineered implementation of the Gray Scott model to create a new coupled Gray Scott model. This one shares shares the 'v' component in the uv2 reaction rate part of the formula. The model exhibits some really interesting phenomena: I've added two presets for a creation and destruction variation that look really nice.


Gray Scott with Radial Parameters




Finally, I extended the AGAL in my existing Gray Scott model  to accept two values for each parameter. Inside the shader, I calculate the distance from the centre and use that to generate the parameter based on what is effectively a radial gradient.

This works well when the centre and edge look quite different. I've added some presets where one set of parameters are quite blobby and the other are quite spotty. The interesting thing to note is how parameters reach a tipping point and the generated patterns change quite sharply.

The latest version of ReDiLab lives here and, as always, the source code is available here.

Viewing all articles
Browse latest Browse all 257

Trending Articles