Daily Creative Coding

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

2016-04-21から1日間の記事一覧

マウスによるボックスの回転

3D

/** * box rotation by mouse * * @author aa_debdeb * @date 2016/04/21 */ float maxVel = PI / 16; float velStep = PI / 64; color c1 = color(255, 20, 146); color c2 = color(51, 4, 29); ArrayList<Box> boxes; void setup(){ size(640, 640, P3D); strok</box>…