Skip to content

Simulating cellular automata on the GPU with Vulkan, written from scratch.

License

Notifications You must be signed in to change notification settings

hannes-harnisch/Cultivator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simulating cellular automata on the GPU with Vulkan, written from scratch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published