Daily Creative Coding

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

2016-11-26から1日間の記事一覧

溢れるパーティクル

/** * spilled particles * * @author aa_debdeb * @date 2016/11/26 */ float MAX_VEL = 15; float MAX_SIZE = 10.0; float GRAVITY = 1.0; ArrayList<Particle> particles; void setup(){ size(640, 640); particles = new ArrayList<Particle>(); } void draw(){ fill(0, 100)</particle></particle>…