Forum Archive

Needed: Reaction-diffusion model using a shader

JohanvdK

Has anybody ever implemented a reaction-diffusion model in Pythonista using a shade, preferably with 2 differential equations . I would love to get/make an pythonista version of the gray-scott model, but I do not have enough to start with.

Johan

cvp

@JohanvdK I had never heard of diffusion reaction. I just tried to read an article on Wikipedia, and, wow, I had not seen differential equations for almost 50 years ...👴🏻
Good luck

Perhpas here or here

JohanvdK

Sure, in plain python is easy. I could use some help implementing it as a shader, like the SimpleNoise example. J.

JonB

Search shadertoy for reaction diffusion, and see if there is one that does what you want. For the most part, I think the stuff you can find on shadertoy should work with minimal work in pythonista.

JohanvdK

Looks interesting. I can’t test it yet as I only have an ipad with me. Thanks! J.