Camila Herman: Tarea Random y For
De Casiopea
Título | Camila Herman: Tarea Random y For |
---|---|
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita, |
void setup() {
background(208, 143, 222); size(100, 700); noLoop(); smooth(); noStroke();
}
void draw() {
for (int x = 0; x <=300; x+= 10) { for (int y = 0; y <=380; y+= 10) { fill(random(35, 86), random(34, 50), random(34, 98)); rect(x, y, random(30, 300), random(0, 400)); } } saveFrame("cocarandom.jpg");
}