Luca f64e5799be | ||
---|---|---|
README.md | ||
glider.png | ||
index.html | ||
qrcode.png |
README.md
Game of QR
Conway's Game of Life, but for testing what happens if you start with a qr code (or similar).
Usage
Serve index.html using HTTP (file-URLs won't work because Firefox refuses to run scripts using ImageData from local files), e.g.:
python3 -m http.server
(This assumes you are in the directory of the cloned repository.)
Open the site (usually http://localhost:8000
for the above example) in your browser and append the name of the seed image as the URL fragment, e.g.: http://localhost:8000#qrcode.png
This repository provides two seed images:
qrcode.png
: A QR code containing the Wikipedia abstract for Conway's Game of Lifeglider.png
: The "glider" pattern