Daily Creative Coding

元「30 min. Processing」。毎日、Creative Codingします。

2016-02-13から1日間の記事一覧

1次元セルオートマトン

/** * 1D Cellular Automaton * * @author aa_debdeb * @date 2016/02/13 */ int RULE_NO = 110; int[] rule; int[] states; void setup(){ size(500, 500); frameRate(45); background(255); rule = new int[8]; String binaryRule = binary(RULE_NO); for(…