An implementation of Conway’s Game of Life running on the GPU.
Initially written as a hello world GLSL/FBO exercise, extensive gold plating and polishing turned it into a more complete application.
- Windows download SLife_win32.zip 1.6MB
- MAC OSX (x86) download SLife.dmg 2.2MB
Features
- Leverages the GPU for fast processing (naive pixel matrix implementation).
- Bounded/wraparound variable size universe (from 256×256 up to gfx card max texture size).
- Smooth zoomable/scrollable universe. (keyboard, mousewheel or mouse rhb + up/down)
- Configurable color fades for surviving and dead cells (pretty).
- Dot, Line, Text & Rectangle cell editing.
- Copy & Paste.
- Pattern image browsing/pasting – supports png,jpg formats. many images included in /patterns
- Support for life like rules – see (editable) rules.txt file
- User preferences – wraparound, universe size, color presets
Minimum System Requirements
- OS – Intel Mac OSX or Windows XP
- 1024×768 resolution
- OpenGL 2.1
- GLSL 1.20
- Half decent Graphics card (e.g. mid range circa 2008 – 2nd generation shader hardware)
Leave a comment