Daily Creative Coding

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

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

2つの波の重なり

/** * Two Pulse * * @author aa_debdeb * @date 2016/01/22 */ void setup(){ size(500, 500); frameRate(30); } void draw(){ background(0); noFill(); strokeWeight(3); for(float i = 0; i <= 1.0; i += 0.01){ float r = map(i, 0, 1, 0, 500 * sqrt(2…