# Processing

Disponível somente no TrabalhosFeitos
• Páginas : 5 (1150 palavras )
• Publicado : 21 de outubro de 2012

Amostra do texto
1 - O código forma um retângulo, uma linha, uma elipse e um triângulo.

3 - size (800,800);

noFill();

rect (50,50,30,30);

rect (80,50,30,30);

rect (110,50,30,30);

rect (140,50,30,30);

rect (170,50,30,30);

rect (200,50,30,30);

rect (230,50,30,30);

rect (260,50,30,30);

rect (290,50,30,30);

rect(320,50,30,30);

rect (50,80,30,30);

rect (50,110,30,30);rect (50,140,30,30);

rect (50,170,30,30);

rect (50,200,30,30);

rect (50,230,30,30);

rect (50,260,30,30);

rect (50,290,30,30);

fill(25,25,25);

rect (50,320,30,30);

noFill();

fill(25,25,25);

rect (80,80,30,30);

noFill();

rect (80,110,30,30);

rect (80,140,30,30);

rect (80,170,30,30);

fill(25,25,25);

rect (80,200,30,30);

rect (80,230,30,30);

rect(80,260,30,30);

rect (80,290,30,30);

rect (80,320,30,30);

noFill();

rect (110,80,30,30);

rect (110,110,30,30);

rect (110,140,30,30);

rect (110,170,30,30);

rect (110,200,30,30);

rect (110,230,30,30);

fill(25,25,25);

rect (110,260,30,30);

noFill();

rect (110,290,30,30);

rect (110,320,30,30);

rect (140,80,30,30);

rect (140,110,30,30);

rect(140,140,30,30);

rect (140,170,30,30);

rect (140,200,30,30);

fill(25,25,25);

rect (140,230,30,30);

noFill();

rect (140,260,30,30);

rect (140,290,30,30);

rect (140,320,30,30);

fill(25,25,25);

rect (170,80,30,30);

noFill();

fill(25,25,25);

rect (170,110,30,30);

noFill();

fill(25,25,25);

rect (170,140,30,30);

noFill();

rect (170,170,30,30);

fill(25,25,25);rect (170,200,30,30);

noFill();

rect (170,230,30,30);

rect (170,260,30,30);

rect (170,290,30,30);

rect (170,320,30,30);

fill(25,25,25);

rect (200,80,30,30);

noFill();

rect (200,110,30,30);

fill(25,25,25);

rect (200,140,30,30);

noFill();

fill(25,25,25);

rect (200,170,30,30);

noFill();

rect (200,200,30,30);

rect (200,230,30,30);

rect(200,260,30,30);

rect (200,290,30,30);

rect (200,320,30,30);

fill(25,25,25);

rect (230,80,30,30);

noFill();

rect (230,110,30,30);

fill(25,25,25);

rect (230,140,30,30);

noFill();

rect (230,170,30,30);

rect (230,200,30,30);

rect (230,230,30,30);

rect (230,260,30,30);

fill(25,25,25);

rect (230,290,30,30);

noFill();

rect (230,320,30,30);fill(25,25,25);

rect (260,80,30,30);

noFill();

rect (260,110,30,30);

fill(25,25,25);

rect (260,140,30,30);

noFill();

rect (260,170,30,30);

rect (260,200,30,30);

rect (260,230,30,30);

fill(25,25,25);

rect (260,260,30,30);

noFill();

rect (260,290,30,30);

fill(25,25,25);

rect (260,320,30,30);

noFill();

fill(25,25,25);

rect (290,80,30,30);

noFill();

rect(290,110,30,30);

fill(25,25,25);

rect (290,140,30,30);

noFill();

rect (290,170,30,30);

rect (290,200,30,30);

rect (290,230,30,30);

fill(25,25,25);

rect (290,260,30,30);

noFill();

rect (290,290,30,30);

fill(25,25,25);

rect (290,320,30,30);

noFill();

fill(25,25,25);

rect (320,80,30,30);

noFill();

fill(25,25,25);

rect (320,110,30,30);

noFill();fill(25,25,25);

rect (320,140,30,30);

noFill();

rect (320,170,30,30);

rect (320,200,30,30);

rect (320,230,30,30);

rect (320,260,30,30);

fill(25,25,25);

rect (320,290,30,30);

noFill();

rect (320,320,30,30);

4 - fill(0, 0 ,205);

ellipse(30,50,16,16);

fill(154, 50, 205);

ellipse(50,50,16,16);

fill(255,255,0);

ellipse(70,50,16,16);

5 -size(500,350);

fill(0,100,0);

rect(0,0,500,50);

fill(105,105,105);

rect(0,50,500,50);

fill(0,0,205);

rect(0,100,500,50);

fill(211,211,211);

rect(0,150,500,50);

fill(255,255,0);

rect(0,200,500,50);

fill(0,255,255);

rect(0,250,500,50);

fill(165,42,42);

rect(0,300,500,50);

6 - void setup() {

smooth();

size(510, 510);

background(#333333);...