Daily Creative Coding

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

2015-08-29から1日間の記事一覧

A Rebounding Ball

/** * A Rebounding Ball * * @author aa_debdeb * @date 2015/08/29 */ Ball ball; float BALL_MAX_SPEED = 20.0; float BALL_DIAMETER = 50.0; void setup(){ size(300, 300); smooth(); background(255); frameRate(60); ball = new Ball(); } void draw(…