Mitosis in the Gray-Scott model : an introduction to writing shader-based chemical simulations
Posted by pcouy@reddit | programming | View on Reddit | 3 comments
pcouy@reddit (OP)
Hi ! I’ve been working on this article for the past few days. It would mean a lot to me if you could provide some feedback.
It is about implementing a physico-chemical simulation as my first attempt to write a shader. The code is surprisingly simple and short (less than 100 lines). The “Prerequisite” and “Update rules” sections, however, may need some adjustments to make them clearer, so I'm especially looking for feedback on these parts.
Feel free to ask for any detail that I may have omitted from the article.
Thanks for reading
redblobgames@reddit
Looks good! BTW if you change the k2, k3 parameters from constants to be something that varies by screen position or varies by time, you can create cool patterns. I made a few here.
pcouy@reddit (OP)
Unjust read you posts on the topic, thank you for sharing. I really liked the phase space visualization!
I did make a parameter space map in the companion video, but I'd like to make a nice interactive one before writing about it. Anyway, thanks for the inspiration. Some of these patterns look really cool !