Skip to content

zhvrnkov/cellaton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cellaton

  • Rule 110
  • Rule 90
  • Rule 30
  • Convay game of life
  • Seeds
  • Brian's Brain
  • Wire World
  • Langton's ant
  • HPP Latice Gas model

Rules are done with single algorithm.

Convay, seeds, Brian's Brain and Wire World are also done with single algorithm.

Wire World is done by writing pixels to texture directly.

HPP Latice Gas Model is done with custom kernel that encodes lattice into single texture and uses "convolution-like" algorithm to determine cell behavior.


Links

https://github.com/Chakazul/Lenia app from some youtube video about smooth game of life

https://www.youtube.com/watch?v=8wDSQxmAyTw&ab_channel=NeatAI video from smooth gol from NeatAI (there is also link to shader toys)

https://github.com/duckythescientist/SmoothLife

https://arxiv.org/pdf/1111.1567.pdf

https://conwaylife.com/wiki/List_of_Life-like_cellular_automata

http://www.radicaleye.com/lifepage/picgloss/picgloss.html list of Convay's gol patterns

TODO

lattice gas automaton

use rgba texture

component describe cell direction

to which component should cell write its direction if its moved

  • 0 * 3 c 1
  • 2 *

directions: 0 - top 1 - right 2 - bot 3 - left

also write only to current invocation pos (to remove simaltenous writes)

cell is live if: top cell have direction bot (2) or right cell have direction left (3) or bot cell have direction top (0) or left cell have direction right (1)

otherwise dead

About

Cellular automaton using Metal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published