Daily Creative Coding

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

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

パーリンノイズによるパーティクルの流れ 3D

3D

/** * flow in 3D box * * @author aa_debdeb * @date 2016/04/30 */ float depth = 500; PVector[] nOffset; float nScale = 0.01; float stepSize = 3; ArrayList<Particle> particles; void setup(){ size(500, 500, P3D); nOffset = new PVector[3]; for(int i = 0</particle>…