Hacker GitHub

← All repos

thearn/game-of-life

View on GitHub ↗ ★ 188 Python

Simple Python implementation of Conway's game of life and other cellular automata, computed using numpy.fft

9 mentions on Hacker News by 2 people: 1 story, 8 comments · first 2014-02-27 · latest 2025-05-02

Mentions per year 9 mentions · busiest year 2014 (3)
20082026
  1. ▲ 1
    Show HN: Interactive Cellular Automata Demo
    story by thearn4 · 2025-05-02 · 0 comments
  2. scipy.ndimage.convolve / scipy.fftpack.dct* From https://github.com/thearn/game-of-life : > How it's written > The game grid is encoded as a simple m by n array (default 100x100 in the code) of zeros and ones. In each program, a state…
    comment by westurner · 2023-07-30 · in Solar Powered Conways Game of Life
  3. …and the convolution theorem are some of my favorite tricks in math. A toy I made a few years back: https://github.com/thearn/game-of-life
  4. …- I implemented a fast GOL code in Python using FFT-based kernel convolution a few years back https://github.com/thearn/game-of-life
    comment by thearn4 · 2016-08-08 · in Image Kernels explained visually
  5. For those who are interested in a simple Python implementation of the automa described in the wiki: https://github.com/thearn/game-of-life
    comment by thearn4 · 2015-04-19 · in LifeWiki
  6. Cool idea. I just made a quick implementation for those who want to use it/see it live: https://github.com/thearn/game-of-life/blob/master/image.py I'll make a quick .gif, if folks are interested.
  7. Partially related: Here is a Python implementation of Conway's Game Of Life, using numpy.fft https://github.com/thearn/game-of-life This advances the game state image through re-expression of the game rules as a convolution filter.
    comment by thearn4 · 2014-09-01 · in Fourier Image Filtering
  8. …way to generate a maze (imperfect, but fun): http://www.conwaylife.com/wiki/Maze quickstart: https://github.com/thearn/game-of-life/blob/master/rule_stri...
    comment by thearn4 · 2014-03-25 · in How To Build A Maze
  9. …Also, I wrote a fast numpy implementation of Conway's game of life yesterday, for the heck of it. https://github.com/thearn/game-of-life