xxxxxxxxxx
192
function setup() {
createCanvas(600, 500);
//dark purple sky
noStroke();
background(126, 62, 235);
//light purple
fill(172, 131, 242);
rect(0,55,width,100);
//yellow sky
fill(235, 212, 62);
rect(0,110,width,100);
// light orange sky
fill(235, 169, 62);
rect(0,165,width,100);
//orange sky
fill(235, 126, 62);
rect(0,220,width,200);
//red sky
fill(235, 83, 62);
rect(0,280,width,150);
//stars
stroke(255);
strokeWeight(3);
point(15,25);
point(39,39);
point(75,15);
point(69,32);
point(85,39);
point(119,8);
point(129,48);
point(135,5);
point(149,30);
point(175,21);
point(199,12);
point(209,44);
point(215,25);
point(242,13);
point(255,15);
point(269,38);
point(329,41);
point(330,19);
point(349,34);
point(345,17);
point(359,12);
point(399,44);
point(442,43);
point(455,35);
point(469,18);
point(429,21);
point(437,9);
point(509,14);
point(545,17);
point(559,42);
point(599,44);
point(459,36);
point(480,49);
point(379,24);
point(245,47);
point(550,39);
point(589,30);
//Two tone sun
stroke(230, 192, 0);
strokeWeight(8);
fill(255, 192, 0);
ellipse(75,245,70);
//Green grass
//fill(50,205,50);
fill( 119, 153, 136);
noStroke();
quad(0,500,0,400,600,250,600,500);
stroke(45,185,45);
strokeWeight(6);
line(0,400,600,250)
//Mountain 2.0
noStroke();
fill(199,199,199);
triangle(390,240,520,160,600,245);
//Mountain 2.1
noStroke();
fill(199,199,199);
triangle(210,240,320,110,400,260);
//Mountain 2.2
noStroke();
fill(199,199,199);
triangle(300,240,420,140,490,260);
//Mountain 2.3
noStroke();
fill(199,199,199);
triangle(95,340,220,120,350,260);
//Mountain 1.1 - Rightmost -
noStroke();
fill(169);
triangle(458,282,565,180,650,235);
//ice cap
stroke(189, 224, 255);
strokeWeight(4);
fill(240, 248, 255);
quad(546,200,565,180,580,192,558,207);
// Mountain 1.2 - Second from Right -
noStroke();
fill(169);
triangle(358,308,480,140,550,260);
//ice cap
stroke(189, 224, 255);
strokeWeight(4);
fill(240, 248, 255);
quad(460,170,480,140,501,180,475,168);
// Mountain 1.3 - Third from Right -
noStroke();
fill(169);
triangle(320,315,380,110,450,285);
//ice cap
stroke(189, 224, 255);
strokeWeight(2);
fill(240, 248, 255);
quad(376,125,380,112,383,120,381,118);
//Mountain 1.4
noStroke();
fill(169);
triangle(200,347,280,90,390,300);
//ice cap
stroke(189, 224, 255);
strokeWeight(4);
fill(240, 248, 255);
quad(271,125,280,92,292,116,281,111);
//Mountain 1.5
noStroke(200,200,200);
fill(169,169,169);
triangle(100,371,200,190,260,332);
//ice cap
stroke(189, 224, 255);
strokeWeight(4);
fill(240, 248, 255);
quad(190,212,200,188,208,210,200,205);
//Mountain 1.6
noStroke(200,200,200);
fill(169,169,169);
triangle(50,385,120,140,210,345);
//ice cap
stroke(189, 224, 255);
strokeWeight(4);
fill(240, 248, 255);
quad(110,180,120,140,133,172,118,188);
// hiker
//legs
stroke(0);
line(292,321,300,312);
line(300,312,306,318);
//body
line(300,312,303,298);
//arm
strokeWeight(3);
line(303,305,310,302);
//hand
strokeWeight(4)
point(310,302);
//pole
line(310,303,314,316);
//head
fill(0);
circle(304,296,8,8);
//backpack
fill(255);
rect(293,300,6,12);
//text
noStroke();
fill(0);
textStyle(BOLD);
textAlign(CENTER,BOTTOM);
textFont('Helvetica',16)
angleMode(DEGREES);
rotate(-15);
text("NIGHT HIKE",375,418);
}
//function draw() {
//Clouds
//River
//Trees
//stroke(139, 69, 19);
//line(500,350)
//}