Daily Creative Coding

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

2015-11-30から1日間の記事一覧

擬似ヘックス

/** * Hex * * @autor aa_debdeb * @date 2015/11/30 */ Hex[][] hexs; void setup(){ size(500, 500); background(255); hexs = new Hex[21][21]; for(int x = 0; x <= 20; x++){ for(int y = 0; y <= 20; y++){ hexs[x][y] = new Hex(12.5); } } noStroke(…