/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://dflab.sketchpad.cc/sp/pad/view/ro.cR3$K7no248/rev.14
*
* authors:
* Ruben.Martins
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
/* @pjs preload="/static/uploaded_resources/p.10348/logo.jpg"; */
size (500, 465);
background(255);
//FUNDO LEGO
noStroke();
fill(20,10,210);//azul
rect(0,0,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(75,0,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(150,0,75,40);
noStroke();
fill(255);//branco
rect(225,0,75,40);
noStroke();
fill(255,160,0);//laranja
rect(300,0,75,40);
noStroke();
fill(0);//preto
rect(375,0,75,40);
noStroke();
fill(165,205,20);//verde claro
rect(450,0,75,40);
//2
noStroke();
fill(165,205,20);//verde claro
rect(-37.5,40,75,40);
noStroke();
fill(0);//preto
rect(37.5,40,75,40);
noStroke();
fill(255,160,0);//laranja
rect(112.5,40,75,40);
noStroke();
fill(255);//branco
rect(187.5,40,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(262.5,40,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(337.5,40,75,40);
noStroke();
fill(20,10,210);//azul
rect(412.5,40,75,40);
//3
noStroke();
fill(255);//branco
rect(0,80,75,40);
noStroke();
fill(165,205,20);//verde claro
rect(75,80,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(150,80,75,40);
noStroke();
fill(255);//branco
rect(225,80,75,40);
noStroke();
fill(255);//branco
rect(300,80,75,40);
noStroke();
fill(255,160,0);//laranja
rect(375,80,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(450,80,75,40);
//4
noStroke();
fill(255,160,0);//laranja
rect(-37.5,120,75,40);
noStroke();
fill(20,10,210);//azul
rect(37.5,120,75,40);
noStroke();
fill(255,160,0);//laranja
rect(112.5,120,75,40);
noStroke();
fill(255);//branco
rect(187.5,120,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(262.5,120,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(337.5,120,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(412.5,120,75,40);
noStroke();
fill(20,10,210);//azul
rect(487.5,120,75,40);
//5
noStroke();
fill(220,0,0);//vermelho
rect(0,160,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(75,160,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(150,160,75,40);
noStroke();
fill(255);//branco
rect(225,160,75,40);
noStroke();
fill(255,160,0);//laranja
rect(300,160,75,40);
noStroke();
fill(165,205,20);//verde claro
rect(375,160,75,40);
noStroke();
fill(0);//preto
rect(450,160,75,40);
//6
noStroke();
fill(0);//preto
rect(-37.5,200,75,40);
noStroke();
fill(165,205,20);//verde claro
rect(37.5,200,75,40);
noStroke();
fill(255,160,0);//laranja
rect(112.5,200,75,40);
noStroke();
fill(255);//branco
rect(187.5,200,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(262.5,200,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(337.5,200,75,40);
noStroke();
fill(255);//branco
rect(412.5,200,75,40);
noStroke();
fill(255,160,0);//laranja
rect(487.5,200,75,40);
//7
noStroke();
fill(10,150,10);//verde escuro
rect(0,240,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(75,240,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(150,240,75,40);
noStroke();
fill(255);//branco
rect(225,240,75,40);
noStroke();
fill(255,160,0);//laranja
rect(300,240,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(375,240,75,40);
noStroke();
fill(20,10,210);//azul
rect(450,240,75,40);
//8
noStroke();
fill(255);//branco
rect(-37.5,280,75,40);
noStroke();
fill(255,160,0);//laranja
rect(37.5,280,75,40);
noStroke();
fill(255,160,0);//laranja
rect(112.5,280,75,40);
noStroke();
fill(255);//branco
rect(187.5,280,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(262.5,280,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(337.5,280,75,40);
noStroke();
fill(255,160,0);//laranja
rect(412.5,280,75,40);
noStroke();
fill(0);//preto
rect(487.5,280,75,40);
//9
noStroke();
fill(165,205,20);//verde claro
rect(0,320,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(75,320,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(150,320,75,40);
noStroke();
fill(255);//branco
rect(225,320,75,40);
noStroke();
fill(255,160,0);//laranja
rect(300,320,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(375,320,75,40);
noStroke();
fill(255);//branco
rect(450,320,75,40);
//10
noStroke();
fill(220,0,0);//vermelho
rect(-37.5,360,75,40);
noStroke();
fill(0);//preto
rect(37.5,360,75,40);
noStroke();
fill(255,160,0);//laranja
rect(112.5,360,75,40);
noStroke();
fill(255);//branco
rect(187.5,360,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(262.5,360,75,40);
noStroke();
fill(20,10,210);//azul
rect(337.5,360,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(412.5,360,75,40);
noStroke();
fill(165,205,20);//verde claro
rect(487.5,360,75,40);
//11
noStroke();
fill(255,160,0);//laranja
rect(0,400,75,40);
noStroke();
fill(20,10,210);//azul
rect(75,400,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(150,400,75,40);
noStroke();
fill(255);//branco
rect(225,400,75,40);
noStroke();
fill(255);//branco
rect(300,400,75,40);
noStroke();
fill(0);//preto
rect(375,400,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(450,400,75,40);
//12
noStroke();
fill(165,205,20);//verde claro
rect(-37.5,440,75,40);
noStroke();
fill(0);//preto
rect(37.5,440,75,40);
noStroke();
fill(255,160,0);//laranja
rect(112.5,440,75,40);
noStroke();
fill(255);//branco
rect(187.5,440,75,40);
noStroke();
fill(10,150,10);//verde escuro
rect(262.5,440,75,40);
noStroke();
fill(220,0,0);//vermelho
rect(337.5,440,75,40);
noStroke();
fill(20,10,210);//azul
rect(412.5,440,75,40);
//BONECO LEGO
noStroke(); //SOMBRA CABEÇA
fill(0,140);
rect(60,90,350,330,100);
noStroke(); // SOMBRA BAIXO
fill(0,140);
rect(135,405,200,50,10);
noStroke(); // SOMBRA CIMA
fill(0,140);
rect(145,35,175,150,26);
noStroke();
fill(220,170,20);
rect(150,390,200,50,10);
noStroke();
fill(200,150,15);
rect(170,390,40,50);
noStroke();
fill(245,203,50);
rect(310,390,25,50);
noStroke();
fill(200,150,15);
rect(150,390,200,30);
noStroke();
fill(180,130,10);
rect(170,390,40,30);
noStroke();
fill(225,185,30);
rect(310,390,25,30);
noStroke();
fill(240,190,10);
rect(160,20,175,150,26);
noStroke();
fill(255,252,180);
rect(75,75,340,330,100);
noStroke();
fill(255,220,0);
rect(75,75,320,330,100);
noStroke();
fill(240,190,10);
rect(75,75,250,330,100);
noStroke();
fill(255,220,0);
rect(160,20,175,20,100,100,0,0);
noStroke();
fill(255,220,0);
rect(125,75,270,330,100);
noStroke();
fill(220,170,20);
rect(170,20,40,55);
noStroke();
fill(240,190,10);
rect(170,20,40,20);
noStroke();
fill(255,215,50);
rect(300,20,25,55);
noStroke();
fill(255,252,180);
rect(300,20,25,20);
noStroke();
fill(0);
ellipse(200,235,40,40);
noStroke();
fill(0);
ellipse(300,235,40,40);
stroke(0);
strokeWeight(10);
noFill();
beginShape();
curveVertex(180,250);
curveVertex(210,290);
curveVertex(250,300);
curveVertex(290,290);
curveVertex(320,250);
endShape();
PImage img;
img = loadImage("/static/uploaded_resources/p.10348/logo.jpg");
image(img, 450, 429);