Daily Creative Coding

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

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

三次元の表面を波立たせる

3D

/** * Waving Surface * * @author aa_debdeb * @date 2015/11/25 */ void setup(){ size(500, 500, P3D); smooth(); sphereDetail(5); } void draw(){ background(0); noStroke(); lights(); fill(0, 128, 128); for(int x = 0; x <= width; x += 20){ for(…