Daily Creative Coding

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

2016-09-06から1日間の記事一覧

グラデーションの球

3D

/** * gradational sphere * * @author aa_debdeb * @date 2016/09/06 */ float scale = 100; float phi = (1 + sqrt(5)) / 2.0; float radious = sqrt(sq(1) + sq(phi)); ArrayList<Triangle> triangles; color[][] cols; void mousePressed(){ cols = new color[3][2</triangle>…