> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://dflab.sketchpad.cc/sp/pad/view/ro.tznNzVbPeMR/rev.928
 * 
 * authors: 
 *   Rosmaria Coutinho

 * license (unless otherwise specified): 
 *   creative commons attribution-share alike 3.0 license.
 *   https://creativecommons.org/licenses/by-sa/3.0/ 
 */ 



//Composição Estática - 7137
//Esta é uma composição geométrica inspirada numa obra de Erdem Kucukkoroglu

/* @pjs preload="/static/uploaded_resources/p.10335/geometric.jpg"; */

PImage img;
 
void setup() {  
    
//tamanho da tela
    size(400, 550);
     
     img = loadImage("/static/uploaded_resources/p.10335/geometric.jpg");
}

void draw() {
    image(img, 0, 0, width, height);    
     
    fill(0, 0, 0);
    quad(0, 84, 400, 84, 400, 550, 0, 275);
    
//quadrilátero laranja:
    noStroke();
    fill(155, 143, 163);
    quad(0, 0, 0, 250, 200, 250, 170, 0 );
    
    fill(0, 0, 0);
    quad(0, 42, 160, 84, 25, 290, 0, 275);
    
//triângulo verde:
    fill(235, 155, 144);
    triangle(270, 150, 400, 500, 65, 455);
    
    fill(0, 0, 0);
    quad(400, 413, 240, 300, 240, 550, 400, 550);

}