Daily Creative Coding

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

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

円から四角に変形するオブジェクト

/** * morphing between circle and square * * @author aa_debdeb * @date 2016/12/03 */ float radius = 200; int pointNum = 1000; PVector[] circlePoints; PVector[] rectPoints; float shapeRate = 0.0; float shapeRateSpeed = -0.005; color circleC…