/* built with Studio Sketchpad: * https://sketchpad.cc * * observe the evolution of this sketch: * https://studio.sketchpad.cc/sp/pad/view/ro.9MclV13xrWP/rev.2 * * authors: * Natalia Valencia * license (unless otherwise specified): * creative commons attribution-share alike 3.0 license. * https://creativecommons.org/licenses/by-sa/3.0/ */ void setup() { size(350,423); background(230, 224, 220); smooth(); } void draw() { // figuras amarillas //amarillo 1 beginShape(); fill(233,193,44); noStroke(); vertex(72, 264); vertex(87, 247); vertex(62, 227); vertex(48, 244); vertex(72, 264); endShape(); //amarillo 2 beginShape(); fill(233,193,44); noStroke(); vertex(99, 237); vertex(127, 197); vertex(95, 172); vertex(66, 211); vertex(99, 237); endShape(); //amarillo 3 beginShape(); fill(233,193,44); noStroke(); vertex(130, 186); vertex(214, 81); vertex(178, 51); vertex(91, 156); vertex(130, 186); endShape(); //amarillo 4 beginShape(); fill(233,193,44); noStroke(); vertex(170, 170); vertex(205, 124); vertex(191, 114); vertex(158, 158); vertex(170, 170); endShape(); //amarillo 5 beginShape(); fill(233,193,44); noStroke(); vertex(210, 175); vertex(233, 145); vertex(208, 127); vertex(186, 154); vertex(210, 175); endShape(); //anarillo 6 beginShape(); fill(233,193,44); noStroke(); vertex(205, 202); vertex(214, 190); vertex(197, 178); vertex(187, 190); vertex(205, 202); endShape(); //figuras negras // negro 1 beginShape(); fill(0,0,0); noStroke(); vertex(150, 354); vertex(239, 226); vertex(156, 174); vertex(73, 287); vertex(150, 354); endShape(); //negro 2 beginShape(); fill(0); noStroke(); vertex(208, 372); vertex(263, 291); vertex(218, 264); vertex(166, 346); vertex(208, 372); endShape(); //negro 3 beginShape(); fill(0); noStroke(); vertex(263, 377); vertex(290, 342); vertex(255, 318); vertex(230, 354); vertex(263, 377); endShape(); //figuras azules //azul 1 beginShape(); fill(45,37,76); noStroke(); vertex(46, 337); vertex(115, 372); vertex(123, 358); vertex(54, 322); vertex(46, 337); endShape(); //azul 2 beginShape(); fill(45,37,76); noStroke(); vertex(283, 276); vertex(288, 268); vertex(252, 245); vertex(247, 253); vertex(283, 276); endShape(); //figuras rojas //rojo 1 beginShape(); fill(165,22,18); noStroke(); vertex(80, 105); vertex(258, 88); vertex(258, 78); vertex(80, 93); vertex(80, 105); endShape(); //amarillo 3 beginShape(); fill(233,193,44); noStroke(); vertex(130, 186); vertex(214, 81); vertex(178, 51); vertex(91, 156); vertex(130, 186); endShape(); //rojo 2 beginShape(); fill(165,22,18); noStroke(); vertex(99, 81); vertex(144, 77); vertex(144, 71); vertex(99, 77); vertex(99, 81); endShape(); }