Monday, April 05, 2010

Gray-Scott Reaction-Diffusion on a Sphere from Kevin Atkinson on Vimeo.



Gray-Scott reaction-diffusion on a sphere. The code will work on arbitrary meshes, since it uses the mesh Laplacian in the diffusion term. Pretty simple, but for a little while I thought I might be on to something, since it took a bit of digging before I found a paper which addressed reaction diffusion on other than regular grids. There's paper from 1991 which discusses reaction-diffusion on arbitrary surfaces, but it's very complicated and expensive. Finally, I did find a 2007 paper which uses much the same approach as I'm using here, which is super simple.

Slightly more complicated geometry:

Gray-Scott Reaction-Diffusion on the Stanford Bunny from Kevin Atkinson on Vimeo.



Denser mesh (327,680 vertices):

Gray-Scott Reaction-Diffusion on a Sphere (dense) from Kevin Atkinson on Vimeo.

2 Comments:

Blogger Michael said...

Fantastic! I was searching specificly for RD sims being done directly on a mesh. Are you willing to share more on what youve done or share the code?

Thanks

-Michael

11:14 PM  
Blogger The Method Artist said...

Hi Michael,

Sure, I'd be happy to share the code -- there actually isn't a whole lot to doing RD on a mesh. The only thing that's different is how you compute the Laplacian on a mesh versus a regular grid. Drop me a line at kevin dot atkinson at gmail dot com and I can hook you up with some code and pointers (not ready to release anything publically yet).

11:28 PM  

Post a Comment

<< Home