Daily Creative Coding

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

2016-03-08から1日間の記事一覧

回転する三角形のスタンプ

/** * rotating triangle stamp * * @author aa_debdeb * @date 2016/03/08 */ void setup(){ size(640, 640); background(30); fill(0); stroke(255); strokeWeight(1); } void draw(){ if(mousePressed){ translate(mouseX, mouseY); rotate(frameCount * …