Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.7 KB

README.md

File metadata and controls

17 lines (12 loc) · 1.7 KB

Cultivator

Simulating cellular automata on the GPU with Vulkan, written from scratch, unless you count the Vulkan C++ bindings. This was done mostly as an exercise for learning the ins and outs of Vulkan.

The use of Vulkan makes the whole simulation very efficient. Running it at full speed causes the simulations to reach maximum entropy almost immediately. The images below were captured with 1-millisecond sleeps between draws.

The simulation is done via fragment shaders written in HLSL. At this point, there is no user interface, resolution scaling or runtime simulation selection and only Windows is supported. Camera-like functionality will be added in the future.

Currently comes with implementations of the Game of Life, Highlife, Day and Night, Seeds, Life Without Death and Brian's Brain automaton rules.

Examples