Noise & random
De Casiopea
Título | Noise y random |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | random, noise, processing |
Período | 2011-2011 |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita, |
Carreras | Arquitectura |
Alumno(s) | Trajan Pirkovic |
Profesor | Herbert Spencer |
void setup() { size(200, 300); smooth(); noStroke(); } float xoff = 0.0; void draw() { background(204); xoff = xoff + .05; float n = noise(xoff) * width; ellipse(100, 150, n, n); ellipse(0, 0, n, n); ellipse(200, 0, n, n); ellipse(0, 300, n, n); ellipse(200, 300, n, n); line(100, 150, n, n); fill(random(0, 256), random(0, 256), random(0, 256)); stroke(15, 15, 28); } void guardar() { saveFrame("noise&random.png"); }