乱数のコク
コード
fullScreen(); background(255,255,255); for (int i = 0; i < 100000; i++) { float x = random(width/2); float y = random(height); point(x, y); } translate(width/2, 0); for (int i = 0; i < 100000; i++) { float x = (random(width/2)+random(width/2)+ random(width/2)+random(width/2)+random(width/2))/5; float y = (random(height)+random(height)+ random(height)+random(height)+random(height))/5; point(x, y); }