Skip to content

Instantly share code, notes, and snippets.

View shioken's full-sized avatar

Shioken shioken

  • tesseract
  • Japan
View GitHub Profile
@shioken
shioken / GrayScale LifeGame
Last active December 14, 2016 09:48
Processing Lifegame Grayscale
void setup() {
size(800, 800);
colorMode(RGB, 1.0);
init();
}
static final int SIZE = 100;
float map[][] = new float[SIZE * SIZE][2];
int current;
@shioken
shioken / LifeGame
Created December 9, 2016 14:15
LifeGame with Processing
void setup() {
size(480, 480);
init();
frameRate(12);
unit = width / SIZE;
}
final int SIZE = 96;
int map[][] = new int[SIZE * SIZE][2];
int current;