2017-09-07から1日間の記事一覧

array_PVector_elipse02

int num = 50; PVector[] pos; PVector[] vel; color[] c; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); smooth(); noStroke(); pos = new PVector[num]; vel = new PVector[num]; c = new color[num]; for (int i = 0; i < num; i …