An open API service indexing awesome lists of open source software.

https://github.com/joshbrew/morphogenesis-cellular-automata

WebGPU implementation in plain js. Based on: Simulation of vessel morphogenesis using cellular automata - Mario Markus, Dominik Bohm, Malte Schmick, 1999
https://github.com/joshbrew/morphogenesis-cellular-automata

cellular-automata html js webgpu

Last synced: 4 months ago
JSON representation

WebGPU implementation in plain js. Based on: Simulation of vessel morphogenesis using cellular automata - Mario Markus, Dominik Bohm, Malte Schmick, 1999

Awesome Lists containing this project

README

          

# Morphogenesis-Cellular-Automata
Based on: Simulation of vessel morphogenesis using cellular automata - Mario Markus, Dominik Bohm, Malte Schmick, 1999

Uses WebGPU compute shaders, <1ms frame time at base resolution. Would be fun to make a 3D raymarched version for a volumetric sim, or competing different spawns with different parameters against each other to see what patterns emerge. If you find any cool presets, reach out so I can update the list: brewster.joshua1@gmail.com

## [Try it](https://codepen.io/mootytootyfrooty/pen/OPVxPxp)

Even does Belousov-Zhabotinsky oscillations (I don't have the preset, though but you can see it in this video (click the red image)):

[![Watch the video](https://img.youtube.com/vi/9zgjIUWOOcE/0.jpg)](https://www.youtube.com/watch?v=9zgjIUWOOcE)
[Video](https://www.youtube.com/watch?v=9zgjIUWOOcE)

https://github.com/user-attachments/assets/af9e816c-52a6-43d1-a9a9-7983b7ac3740

Otherwise it does bifurcation, snowflakes, mitosis - you name it.
![image](https://github.com/user-attachments/assets/ed39406c-4a3a-4649-9145-d33a675cc640)
![image](https://github.com/user-attachments/assets/5137fa3f-4761-4865-85a9-a7629c3bb4fb)
![image](https://github.com/user-attachments/assets/d831beea-06e2-42c1-93d8-f8e5df4bf558)
![image](https://github.com/user-attachments/assets/df41e193-1307-43c9-ad2c-196c7162748f)