Skip to content

A simple game of life simulation for use with live wallpaper apps such as komorebi

Notifications You must be signed in to change notification settings

CrispyPin/gol-wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life Wallpaper

A simple game of life simulation for live wallpaper apps such as komorebi. Uses GPU.js

Settings can be tweaked in the url like this: https://crispypin.github.io/gol-wallpaper/?cellsize=16&time=2&margin=3

The full list of options follows:

  • cellsize: the width of cells in pixels
  • time: the number of frames per cycle
  • margin: the width of the grid (subtracted from cellsize)
  • clock: if true, shows a digital clock that interacts with the simulation
  • populate: if true, starts the board with 30% of cells alive
  • edges: random weight of edges, defaults to 0.3. Set to zero to not generate more stuff constantly.

About

A simple game of life simulation for use with live wallpaper apps such as komorebi

Topics

Resources

Stars

Watchers

Forks