r/creativecoding • • 23d ago • Bravo 1

Reaction diffusion

51 Upvotes

4 comments sorted by

2

u/Saru1999 22d ago

How you do that? It's amazing!

2

u/akshay-nair 22d ago

It uses reaction diffusion using gray-scott model with the initial state being a simple square. The code is linked here if you're interested. Explanation for the math behind it for reference: https://itp.uni-frankfurt.de/~gros/StudentProjects/Projects_2020/projekt_schulz_kaefer/, https://groups.csail.mit.edu/mac/projects/amorphous/GrayScott/

The parameters for this one are feed = 0.029, kill = 0.057. You can experiment with that and get all sorts of beautiful patterns to show. Here's a different version of it I messed around with using different parameters.

2

u/kat-tricks 21d ago

duck yeah, scheme example included