John Conway`s Game of Life - Friedrich-Schiller

Transcription

John Conway`s Game of Life - Friedrich-Schiller
Game of Life
Thomas Rumpf
John Conway’s Game of Life
Programming with OpenCL
Features
Usage
Screenshots
Links
Thomas Rumpf
Fakultät für Mathematik und Informatik
Friedrich-Schiller-Universität Jena
CUDA student projects, WS 2009/2010
Features
Game of Life
Thomas Rumpf
Features
Usage
General
I
Supports RLE input files for starting population
I
Supports Random mode for starting population
I
Supports custom rule for calculations
I
Zoom in/out of the board or move around
I
Draw a grid for the board
I
Reset board to starting population
I
Adjustable waiting time between generations
I
Single step calculation of next generation
Screenshots
Links
Features
Game of Life
Thomas Rumpf
Features
Usage
OpenCL
Screenshots
Links
I
Use of images for fast calculations
I
Switch between wrapping and clamping mode
I
Adjustable parameters for kernel execution
I
Switch between CPU / OpenCL calculation
OpenGL
I
Use of pixel buffer objects and textures
Game of Life
Usage
Thomas Rumpf
To start the Game
I
I
RLE file mode:
Usage
GameOfLife -f PATH [-l RULE] [ADV OPT] WIDTH [HEIGHT]
Screenshots
Random starting population
Links
GameOfLife -r DENSITY [-l RULE] [ADV OPT] WIDTH [HEIGHT]
I
Features
See GameOfLife -h for more help
While running the Game
Key
space
+Mouse left
Mouse right
g
...
Description
Start/stop calculations
Adjust waiting time between calculations
Move around in the board
Zoom in/out of the board
Draw grid for the board
See in-game description for more keys
Control interface
Game of Life
Thomas Rumpf
Features
Usage
Screenshots
Links
Bill Gosper’s glider gun
Game of Life
Thomas Rumpf
Features
Usage
Screenshots
Links
Sierpinksi triangle
Game of Life
Thomas Rumpf
Features
Usage
Screenshots
Links
Turing machine
Game of Life
Thomas Rumpf
Features
Usage
Screenshots
Links
Links
Game of Life
Thomas Rumpf
Features
Usage
1. Applet by Edwin Martin:
http://www.bitstorm.org/gameoflife/
2. LifeWiki:
http://conwaylife.com/wiki/
3. Mirek’s Cellebration:
1D/2D cellular automata viewer
http://psoup.math.wisc.edu/mcell/
4. Golly:
includes Quicklife and Bill Gosper’s Hashlife algorithm
http://golly.sourceforge.net/
Screenshots
Links