PROCESSING
PRACTICA 5
size(150,100);
quad(61,60,94,60,99,83,81,90);
rect(10,10,60,60);
triangle(12,50,120,15,125,60);
PRACTICA 6
size(150,100);
fill(255,0,0);
stroke(0,0,255);
quad(61,60,94,60,99,83,81,90);
rect(10,10,60,60);
triangle(12,50,120,15,125,60);
PRACTICA 7
rect(15,15,5,50);
ellipse(60,60,55,55);
ellipse(60,60,55,55);
rect(15,15,50,50);
PRACTICA 8
int valor1=0;
int valor2=100;
line(valor1,valor1,valor2,valor2);
line(valor1,valor2,valor2,valor1);
CUADRADO CON LÍNEAS
size(500,500);
background(56,30,65);
stroke(225,205,255);
line(10,10,10,300);
stroke(255,0,0);
line(300,10,10,10);
stroke(0,128,0);
line(10,300,300,300);
stroke(0,0,255);
line(300,300,300,10);
size(150,100);
quad(61,60,94,60,99,83,81,90);
rect(10,10,60,60);
triangle(12,50,120,15,125,60);
PRACTICA 6
size(150,100);
fill(255,0,0);
stroke(0,0,255);
quad(61,60,94,60,99,83,81,90);
rect(10,10,60,60);
triangle(12,50,120,15,125,60);
PRACTICA 7
rect(15,15,5,50);
ellipse(60,60,55,55);
ellipse(60,60,55,55);
rect(15,15,50,50);
PRACTICA 8
int valor1=0;
int valor2=100;
line(valor1,valor1,valor2,valor2);
line(valor1,valor2,valor2,valor1);
CUADRADO CON LÍNEAS
size(500,500);
background(56,30,65);
stroke(225,205,255);
line(10,10,10,300);
stroke(255,0,0);
line(300,10,10,10);
stroke(0,128,0);
line(10,300,300,300);
stroke(0,0,255);
line(300,300,300,10);
Comentarios
Publicar un comentario