Skip to content

Instantly share code, notes, and snippets.

@devential
devential / conway-maze.py
Created March 15, 2019 13:55
conway-maze: Implementation of the 'Maze' life-like CA with rulestring B3/S12345. It generates maze-like patterns.
import numpy as np
import matplotlib.pyplot as plt
birthlist = [3]
survlist = [1,2,3,4,5]
# Implementation of the 'Maze' life-like CA with rulestring B3/S12345. It generates maze-like patterns.
def iterateStep(world,birthlist,survlist):
nextworld = np.zeros(world.shape)

Keybase proof

I hereby claim:

  • I am devential on github.
  • I am devential (https://keybase.io/devential) on keybase.
  • I have a public key ASBpEhejrhTWMvH4z6xIwowtLmlKK0UX4liIE042-FTpEAo

To claim this, I am signing this object: