Daily Creative Coding

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

静画

擬似ヘックス

/** * 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(…

多色のグラデーション

/** * Gradation of Multiple Colors * * @author aa_debdeb * @date 2015/11/17 */ color[] colors = { color(0, 0, 255), // blue color(0, 255, 255), // aqua color(0, 255, 0), // green color(255, 255, 0), // yellow color(255, 165, 0), // orange …