2017-09-19から1日間の記事一覧
float xstart, xnoise, ynoise; void setup() { size(500, 500); smooth(); background(0); float xstart =random(10); float xnoise = xstart; float ynoise = random(10); for (int y = 0; y < height; y+=5 ) { ynoise += 0.1; xnoise = xstart; for (int…
PVector pos; PVector vel; float rad; float noise = 0.1; void setup() { size(500, 500); colorMode(HSB, 360, 100, 100, 100); smooth(); } void draw() { rad = radians(frameCount); float x = (100*cos(rad)) + noise; float y = (100*sin(rad)) + no…