Daily Creative Coding

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

2015-12-02から1日間の記事一覧

ドロネー三角形分割

/** * Delaunay Triangulations * * @author aa_debdeb * @date 2015/12/02 */ void setup(){ size(500, 500); background(255); smooth(); noLoop(); ArrayList<Point> points = new ArrayList<Point>(); for(int i = 0; i < 100; i++){ points.add(new Point(random(widt</point></point>…