Conway's game of life in GLSL

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
veethree
Inner party member
Posts: 877
Joined: Sat Dec 10, 2011 7:18 pm

Conway's game of life in GLSL

Post 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
User avatar
Bunnybacon
Prole
Posts: 20
Joined: Fri Mar 25, 2016 8:42 am

Re: Conway's game of life in GLSL

Post by Bunnybacon »

Very cool!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest