Daily Creative Coding

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

2016-01-11から1日間の記事一覧

エネルギーを拡散させるセルオートマトン

/** * Cellular Automata for Diffusion * * @author aa_debdeb * @date 2016/01/11 * */ ArrayList<Cell> cells; void setup(){ size(500, 500); smooth(); frameRate(30); colorMode(HSB, 360, 100, 100); Cell[][] cellArray = new Cell[50][50]; for(int y = 0</cell>…