Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jana-marie/goltgen
Game of Life (alike) Texture Generator
https://github.com/jana-marie/goltgen
animation cellular-automata cellular-automaton demoscene game-of-life gol
Last synced: 4 days ago
JSON representation
Game of Life (alike) Texture Generator
- Host: GitHub
- URL: https://github.com/jana-marie/goltgen
- Owner: Jana-Marie
- Created: 2023-04-09T14:45:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T22:27:36.000Z (over 1 year ago)
- Last Synced: 2024-12-29T04:24:20.706Z (11 days ago)
- Topics: animation, cellular-automata, cellular-automaton, demoscene, game-of-life, gol
- Language: TypeScript
- Homepage:
- Size: 10.2 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoLTGen
Custom Game of Life alike cellular automaton with a flexible and extended set of rules.
[production_web.webm](https://user-images.githubusercontent.com/7141239/230789976-2c1fab93-3d73-41d3-bd40-d1ee3da4c4eb.webm)
## Rules
A game consists of a playfield (gameSize) and its rules (gameRules). A rule consists of its name ("name"), a list of how many neighbors it takes to survive ("survive"), a list of how many neighbors it takes to be birthed ("birth") and optional a cells lifetime ("starve"). All ammounts of neighbours outside of "survive" and "birth" will mark a cell as dying. While "survive" and "birth" are borrowed game dynmaics borrowed from Game of Life, "starve" is rather foreign here. It is the time in steps it takes to starve a cell designated to die, set this to 0 if you don't want to use this.
## Inspiration
This concept is heavily insipred by [The Powder Toys](https://powdertoy.co.uk/Wiki/W/Element:LIFE.html) Life element. Please consider donating to them <3
The whole project was furthermore fueled by RevisionParty23 <3
## Usage
You can add your rules to the list of rules below, and choose one from the commandline.
NixOS `./generate.py ` or `./generate.py`
other `python3 generate.py ` or `python3 generate.py`