[HN Gopher] Mitosis in the Gray-Scott model: writing shader-base...
___________________________________________________________________
Mitosis in the Gray-Scott model: writing shader-based chemical
simulations
Author : thunderbong
Score : 57 points
Date : 2024-09-20 17:22 UTC (5 hours ago)
(HTM) web link (pierre-couy.dev)
(TXT) w3m dump (pierre-couy.dev)
| pcouy wrote:
| Hey! I'm the author of this article and just noticed the huge
| traffic spike.
|
| This was my first time writing a shader. I was just playing
| around on shadertoy when I realized I could implement this
| chemical model that has fascinated me for quite some time. I'm
| really happy with how well my results align with results from
| other people who have done this before me.
|
| While writing the article, I noticed that the same kind of shader
| implementation has already been done before.
|
| Feel free to ask me anything about the implementation or the
| chemical model
| davedx wrote:
| I considered trying to do something like this for CFD
| (specifically to see if I could show how lift is created by
| airflow over an airfoil). I got kind of stuck on it though and
| gave up, too far out of my area. Awesome to see others doing
| things like this though, feels like it's an area ripe for
| exploitation!
| DylanSp wrote:
| This is really cool, it looks like it's pretty easy to get
| started with Shadertoy and your guidance.
|
| One nitpick: in section 2.1.1 on implementing the reactions,
| you refer to "simulating the reaction A + 2B -> C"; should this
| have "4C"?
| ryanartecona wrote:
| This reminds me of this other work[1], which is also a
| fascinating example of emergence from a dynamical system.
| Instead of a chemical reaction model, it's a model of slime
| mold growth, as a system of particles and some update rules.
| They haven't posted new work in a while, but you can still see
| many video renderings on their twitter[2] using variants of it
| that are absolutely mesmerizing.
|
| [1] "Physarum" by Sage Jenson
| https://cargocollective.com/sagejenson/physarum
|
| [2] https://x.com/mxsage
___________________________________________________________________
(page generated 2024-09-20 23:00 UTC)