Jana-Marie / GoLTGen

Game of Life (alike) Texture Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoLTGen

Custom Game of Life alike cellular automaton with a flexible and extended set of rules.

production_web.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 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 <name> or ./generate.py

other python3 generate.py <name> or python3 generate.py

About

Game of Life (alike) Texture Generator


Languages

Language:TypeScript 62.4%Language:JavaScript 26.8%Language:Python 6.0%Language:HTML 2.6%Language:PEG.js 2.0%Language:CSS 0.1%