Page 1 of 1

Conway's game of life in GLSL

Posted: Mon Jan 02, 2017 8:09 pm
by veethree
Image

A very fast implementation of Conway's game of life written in GLSL.

This could probably be even faster if someone who knew glsl wrote it.

Key bindings:
Left/right mouse button to create/kill cells respectively.
space to toggle the simulation
s to step the simulation
c to clear the grid (kill all cells)
f1 to take screenshot

It requires canvas and shader support to run. The simulation speed can't be properly altered because i'm lazy, So i threw in a frame limiter.
game of life.love
0.10.2
(4.15 KiB) Downloaded 266 times

Re: Conway's game of life in GLSL

Posted: Tue Jan 03, 2017 12:45 am
by Bunnybacon
Very cool!