Daily Creative Coding

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

2016-08-18から1日間の記事一覧

パーティクルで構成された球

/** * sphere composed of particles * * @author aa_debdeb * @date 2016/08/18 */ float scale = 100; float phi = (1 + sqrt(5)) / 2.0; ArrayList<Particle> particles; void setup(){ size(500, 500, P3D); PVector[] vertices = {new PVector(0, 1, phi), new PV</particle>…