<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>AP CompSci Project by Lightguide</title>
      <link>https://padlet.com/kmason14/dfgoteko87r8</link>
      <description>Wonderful display of functions, conditionals, loops, events</description>
      <language>en-us</language>
      <pubDate>2019-12-13 16:18:10 UTC</pubDate>
      <lastBuildDate>2026-01-15 20:41:47 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Project by Valeria &amp; Emily</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423887719</link>
         <description><![CDATA[<div><a href="https://editor.p5js.org/Valeria_Dominguez/sketches/HgBCPj5EC">https://editor.p5js.org/Valeria_Dominguez/sketches/HgBCPj5EC</a>  </div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:38:37 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423887719</guid>
      </item>
      <item>
         <title>Project by Valeria &amp; Emily</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423889369</link>
         <description><![CDATA[<div>var b //defines variable b<br>var c //defines variable c<br>var speed//defines speed<br>var mouse = false//defines mouse = false<br>function setup() {//sets up the canvas<br>  createCanvas(600, 400); //creates canvas<br>  speed = 5;//assigns the value<br>  b = 200;//assigns the values<br>  c = 300;//assigns the values<br>}<br><br>function draw() { //creates what will be displayed<br>  barn(100,100,100,100);//calls barn function<br>  grass(100,100,100,100);//calls grass function<br> cloud(100,100,100,100);//calls cloud function<br>  sun(100,100,100,100);//calls sun function<br>   var w = width/2; //give variable w a value<br>  var h = w/2; //gives variable h a value<br>  body(250, 245, 200, w);//body of the truck<br>  wheel(490, 350, 45, 45);//front wheel<br>  head(455, 275, 80, 70);//head of the truck<br>  wheel(290, 350, 50, 50);//back wheel of the truck<br>  wheel(370, 350, 50, 50);//middle wheel<br>  cow(100,100,100,100);//calls cow function<br>  for (var p = 0; p &lt;= 600; p = p + 30) {//for loop for our flowers<br>  flower(p, 380);}//calls flower function<br>  bee(100,100,100,100);//calls bee function<br> if(mouse === true){//if statement for animation<br>  b = 200//gives b a value<br>  speed= 5//gives speed a value<br>  mouse = false}//variable<br>  b+=speed<br>  <br>  if (b &gt; 400 || b &lt; 0){<br>  speed = -2 }<br>    if (b &lt; 0){<br>  speed = 5}<br>  <br>}<br><br>function barn (x,y,width,height){ //creates function barn<br>  if(mouseIsPressed){<br>    background(142, 142, 251)//darker background<br>    for(var v = 30; v &lt; 600; v+=60){//for loop for stars<br> noStroke()//no outline<br>fill('yellow')//yellow color<br>     ellipse(v ,c  ,8,16);//top row of stars<br>      ellipse(v,c ,16,8);//top row of stars<br>      ellipse(v, c + 100,16,8);//middle row of stars<br>      ellipse(v ,c + 100,8,16);//middle row of stars<br>       ellipse(v, c + 200,16,8);//last row of stars<br>      ellipse(v,c + 200,8,16);//last row of stars<br>    if(mouse === true){//if statement for animation<br>  c = 100//assigns c a value<br>  speed= -2//how fast it'll go<br>  mouse = false}//variable <br>  c+=speed<br>    if (c &gt; 320){<br>  speed = -2}<br>    if (c &lt; 0){<br>  speed = 2}<br>     }}<br>  <br>  else { background(178,255,255);//creates lighter background<br>  }//closes if statement<br>  noStroke()//no outline<br>  fill(255, 77, 77) //color of the barn<br>  rect(40,205,200,150); //size of the barn<br>  noStroke() //no stroke on the roof<br>  triangle(40, 204, 140, 100, 240, 204); //roof of the barn<br>  fill(214, 255, 255) //color of the windows <br>  rect(70,220,40,40);//left window<br>  rect(170,220,40,40);//right window<br>  noStroke()//nostroke on the door<br>  if (mouseIsPressed){ //action will open the door<br>    fill(124, 78, 32)//color of the door<br>  rect(120,305,10,50);}//size &amp; position of the opened door<br>    else {fill(124,78,32)//color of the door<br>    rect(120,305,50,50);   //size &amp;positon of closed door<br>  } //door opens<br>  noStroke() //no stroke on the windows<br>if (mouseIsPressed){//open and close the windows<br>fill(255)//color of the windows open<br>  rect(70,220,40,40);//left window<br>  rect(170,220,40,40);//right window<br>fill(0)//black color of the person<br>ellipse(190,239,15,15);//persons head<br>  rect(194,246,10,3);//right arm<br>  rect(177,246,10,3);//left arm<br>  rect(186,245,8,16);//persons body<br>} //person in the window when it opens<br>   else { //what appears when mouse isn't pressed<br>    fill(255, 181, 255)//curtain color<br>  rect(70,220,40,40);//left curtain positon<br>  rect(170,220,40,40);//right curtain position<br>       } //curtains open<br>  <br>} //closes barn function<br>function grass (x,y,width,height){ //creates grass function<br>  noStroke() //no outline <br>  fill(102,255,102)//green color of the grass<br> rect(-50,345,720,60,100); //size &amp; position of the grass<br>}///closes grass function<br>function cloud(x,y,width,height){//creates cloud function<br>  fill(255)//white color in the clouds<br>  ellipse(b + 5, 87,50,50); //far left cloud<br>  ellipse(b + 130,84,50,50); //far right cloud<br>  ellipse(b+110,64,50,50); //right part cloud<br>  ellipse(b + 30,54,50,50); //left part cloud<br>  ellipse(b + 70,54,50,50);//middle part cloud<br>  rect(b, 68, 155, 45, 120);//bottom part of the cloud<br>  }//closescloud function<br>function sun(x, y , width,height){ //creates sun funtion<br>if (mouseIsPressed){ //makes moon appear<br>  fill(0) //moon<br>  ellipse(0,0,150,150);//bigger sun<br>}<br>else { fill(255,255,127);//lighter color<br> ellipse( 0, 0, 150,150);//smaller sun<br>     }    }//closes sun function<br>function flower (p, o) {//controls &amp; creates flowers<br>   <br>  stroke('green');//color of the outline<br>  line(p, o, p, o + 20);//stem of the flower<br>  noStroke();//no outline<br>  fill('pink');//color<br>  ellipse(p - 9, o, 7, 7);//petals<br>  ellipse(p - 7, o - 5, 7, 7);//petals<br>  ellipse(p - 2, o - 8, 7, 7);//petals<br>  ellipse(p + 4, o - 7, 7, 7);//petals<br>  ellipse(p + 8, o - 4, 7, 7);//petals<br>  ellipse(p + 9, o + 2, 7, 7);//petals<br>  ellipse(p + 5, o + 7, 7, 7);//petals<br>  ellipse(p - 1, o + 8, 7, 7);//petals<br>  ellipse(p - 7, o + 6, 7, 7);//petals<br>  fill('yellow');//color<br>  ellipse(p, o, 15, 15);//middle part of the flower<br>}//closes flower function<br>  function cow(x,y,width,height){ //creates cow function<br>stroke(0)//black outline<br>strokeWeight(3)//thickness of the stroke<br>    fill(255)//white color<br>    ellipse(50,370,60,40);//body of the cow<br>    ellipse(40,390,15,15); //left foot of the cow<br>     ellipse(65,390,15,15); //right foot of the cow<br>     ellipse(70,350,30,30);//head of the cow<br>fill(0)//black color<br>    ellipse(33,359,10,10);//spot on top left<br>    ellipse(73,378,10,10);//right lower spot<br>    ellipse(47,375,10,10);//almost middle spot<br>    ellipse(87,340,10,5);//right cow ear<br>    ellipse(53,340,10,5);//left cow ear<br>   }//closes cow functiom<br>function bee (x,y,width,height){//creates a bee/bat<br>  if(mouseIsPressed){//if mouse was pressed this would happen<br>    noStroke()//no outine<br>  fill(36)//grey color<br>    ellipse(mouseX,mouseY - 7,75,15)//top wing<br>    ellipse(mouseX,mouseY,55,15)//lower wing<br>    <br>    fill(0)//black color<br>    ellipse(mouseX,mouseY,20,40);//bat body<br>    ellipse(mouseX,mouseY - 23,25,25)//bat head<br>  ellipse(mouseX - 10,mouseY -32,10,15);//left ear<br>    ellipse(mouseX + 10,mouseY -32,10,15);//right ear<br>  fill(255)//white color<br>  ellipse(mouseX - 6,mouseY - 27,3,3); // left eye<br>  ellipse(mouseX + 6,mouseY - 27,3,3); //right eye<br>  ellipse(mouseX - 4,mouseY - 19,2,4); //left eye<br>  ellipse(mouseX + 4,mouseY - 19,2,4); //right fang<br>}//closes what would happen if mouse was pressed<br>  else{//if mouse isnt pressed this happens<br> fill('yellow')//yellow<br>    stroke(0)//color of the stroke<br>  ellipse(mouseX,mouseY,50,40);//body shape and size<br>  ellipse(mouseX + 20, mouseY - 20,30,30);//head shape and size<br>  fill(0)//black color on the bee<br>  ellipse(mouseX,mouseY,7,40);//middle line<br>  ellipse(mouseX - 15,mouseY,7,30);//2nd left line<br>  ellipse(mouseX - 27,mouseY,7,10);//last line<br>  ellipse(mouseX + 15,mouseY + 6,7,20);//right line<br>  ellipse(mouseX+25,mouseY - 24,3,3);//stinger<br>  fill(128, 223, 255)//color of the bees wing<br>  ellipse(mouseX - 10,mouseY,30,15);//shape&amp;size of the bees wing<br>}}//closes the bee function<br>function body(x, y, width, w) {//body of the truck<br>  stroke(0)//color of the stroke<br>  strokeWeight(3);//thickness of the stroke<br>  w = width/2;//how the var w is going to be worked<br>  fill('orange');//color of the trucks body<br>  rect(x, y, width, w);//shape of the truck's body<br>}//closes the body function<br>function wheel(x, y, width, height) {//creates the wheels<br>  width = height;//these values are meant to be the same<br>  fill(0);//color of the wheel<br>  ellipse(x, y, width, height);//shape of the wheel<br>}//closes the wheel function<br><br>function head(x, y, width, h) {//head of the truck<br>  stroke(0)//black stroke line<br>  strokeWeight(3)//thickness of the stroke<br>  fill('green');//color of the head of the truck<br>  rect(x, y, width, h);//shape<br>}//closes the function</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:41:15 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423889369</guid>
      </item>
      <item>
         <title>Project by Emily &amp; Valeria</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423891398</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/441706455/3a3ab4e0cd7f73240b0012694f330228/Screen_Shot_2019_12_13_at_11_44_03_AM.png" />
         <pubDate>2019-12-13 16:44:23 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423891398</guid>
      </item>
      <item>
         <title>https://editor.p5js.org/samzomin/sketches/HDwqERIyc</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423891892</link>
         <description><![CDATA[<div>Sam Aqsa Alyssa</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:45:11 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423891892</guid>
      </item>
      <item>
         <title>  //vertices to transform  var quad1=162;  var quad2=199;  var quad3=178;  var quad4=167;  var quad5=130;  var quad6=117;  var quad7=156;  var quad8=155;  // setup() executes only once and at the very beginning  function setup() {    createCanvas(700, 700);  }  // draw() executes over and over once setup() has executed  function draw() {    background(0,202,181);//background color   colorMode(RGB);    var sky1 = color(119,181,254);  var sky2 = color(0, 74, 158);        var mbldg = color(206, 206, 206);    var mbldgshd = color(181, 181, 181);    var mgrass = color(66, 159, 70);    var mriver = color(76, 207, 204);    var mminiriver = color(14, 217, 206);        var ngrass = color(0,135,4);    var nbldg = color(112, 112, 112);    var nbldgshd = color(96, 96, 96);    var nriver = color(0, 183, 177);    var nminiriver = color(0, 204, 190);    noStroke();    //NIGHT PURPLE    if(mouseY&gt;570){      fill(lerpColor(sky2, sky1, .24));      rect(0,0,width,100);      fill(lerpColor(sky2, sky1, .16));      rect(0,100,width,100);      fill(lerpColor(sky2, sky1, .08));      rect(0,200,width,100);      fill(sky2);      rect(0,300,width,150);      fill(&#39;white&#39;);      ellipse(35,251,5,5);      ellipse(507,229,5,5);  ellipse(391,410,5,5);      ellipse(255,88,5,5);    ellipse(462,72,5,5);      ellipse(245,257,5,5);      ellipse(677,371,5,5);      ellipse(528,10,5,5);      ellipse(10,18,5,5);      ellipse(58,62,5,5);          }         //MID RED red sky    if((mouseY&lt;=570) &amp;&amp; (mouseY&gt;509)){      fill(lerpColor(sky2, sky1, .56));      rect(0,0,width,100);      fill(lerpColor(sky2, sky1, .48));      rect(0,100,width,100);      fill(lerpColor(sky2, sky1, .40));      rect(0,200,width,100);      fill(lerpColor(sky2, sky1, .32));      rect(0,300,width,150);    }        //yellow sun    if((mouseY&lt;=509) &amp;&amp; (mouseY&gt;410)){      fill(lerpColor(sky2, sky1, .86));      rect(0,0,width,100);      fill(lerpColor(sky2, sky1, .78));      rect(0,100,width,100);      fill(lerpColor(sky2, sky1, .70));      rect(0,200,width,100);      fill(lerpColor(sky2, sky1, .62));      rect(0,300,width,150);    }        //yellow sun    if(mouseY&lt;=410){       fill(sky1);       rect(0,0,width,100);      fill(sky1);      rect(0,100,width,100);      fill(sky1);      rect(0,200,width,100);     fill(lerpColor(sky2, sky1, .94));      rect(0,300,width,150);    }    //SUN MOVEMENT        if(mouseY&gt;370){    //purple sun    fill(95,150,207);    ellipse(350,mouseY,450);    rect(-1,mouseY-100,701,height)    //red sun    fill(221,91,94);    ellipse(350,mouseY,320);    rect(-1,mouseY-50,701,height);    //yellow sun    fill(254,126,0);    ellipse(350,mouseY,220);    rect(-1,mouseY,701,height);    }    if(mouseY&lt;=370){        //purple sun    fill(95,150,207);    ellipse(350,370,450);    rect(-1,270,701,height)    //red sun    fill(221,91,94);    ellipse(350,370,320);    rect(-1,320,701,height);    //yellow sun    fill(254,126,0);    ellipse(350,370,220);    rect(-1,370,701,height);      }   //DAY LAND  if(mouseY&lt;=410){                //landfill    fill(66,159,70);    //far land    rect(-1,450,701,125);    //front landfill    rect(-1,420,701,300)    //river fill    fill(14,217,206);    rect(-1,550,701,31);      fill(76,207,204);    //river    rect(-1,555,701,20);    stroke(1);    //building fill    fill(206,206,206);    //leftmost building    rect(50,300,50,400);    quad(50,300,70,250,120,250,100,300);    fill(181,181,181);    quad(120,250,120,700,100,700,100,300);    //2nd triangle building    fill(206,206,206);    rect(200,500,70,400);    quad(200,500,220,450,290,450,270,500);    fill(181,181,181);    quad(290,450,290,700,200,700,200,500);    //3rd building    fill(206,206,206);    rect(500,200,100,700);    quad(500,200,520,150,620,150,600,200);    fill(181,181,181);    quad(600,200,620,150,620,700,600,700);        triangle(600,200,620,150,550,50);    fill(206,206,206);    triangle(500,200,600,200,550,50);}    //YELLOW LAND    if((mouseY&lt;=509) &amp;&amp; (mouseY&gt;410)){                    fill(lerpColor(mgrass,ngrass,.33));     rect(-1,450,701,125);       rect(-1,420,701,300)    fill(lerpColor(mminiriver,nminiriver,.33));    rect(-1,550,701,31);      fill(lerpColor(mriver,nriver,.33));    rect(-1,555,701,20);    stroke(1);       fill(lerpColor(mbldg,nbldg,.33));    rect(50,300,50,400);    quad(50,300,70,250,120,250,100,300);    fill(lerpColor(mbldgshd,nbldgshd,.33));    quad(120,250,120,700,100,700,100,300);    fill(lerpColor(mbldg,nbldg,.33));    rect(200,500,70,400);    quad(200,500,220,450,290,450,270,500);    fill(lerpColor(mbldgshd,nbldgshd,.33));    quad(290,450,290,700,200,700,200,500);     fill(lerpColor(mbldg,nbldg,.33));    rect(500,200,100,700);    quad(500,200,520,150,620,150,600,200);    fill(lerpColor(mbldgshd,nbldgshd,.33));    quad(600,200,620,150,620,700,600,700);        triangle(600,200,620,150,550,50);    fill(lerpColor(mbldg,nbldg,.33));    triangle(500,200,600,200,550,50);}        if((mouseY&lt;=570) &amp;&amp; (mouseY&gt;509)){        fill(lerpColor(mgrass,ngrass,.66));    rect(-1,450,701,125);    rect(-1,420,701,300)      fill(lerpColor(mminiriver,nminiriver,.66));    rect(-1,550,701,31);      fill(lerpColor(mriver,nriver,.66));    rect(-1,555,701,20);    stroke(1);    //building fill    fill(lerpColor(mbldg,nbldg,.66));    //leftmost building    rect(50,300,50,400);    quad(50,300,70,250,120,250,100,300);    fill(lerpColor(mbldgshd,nbldgshd,.66));    quad(120,250,120,700,100,700,100,300);    //2nd triangle building    fill(lerpColor(mbldg,nbldg,.66));    rect(200,500,70,400);    quad(200,500,220,450,290,450,270,500);    fill(lerpColor(mbldgshd,nbldgshd,.66));    quad(290,450,290,700,200,700,200,500);    //3rd building    fill(lerpColor(mbldg,nbldg,.66));    rect(500,200,100,700);    quad(500,200,520,150,620,150,600,200);    fill(lerpColor(mbldgshd,nbldgshd,.66));    quad(600,200,620,150,620,700,600,700);        triangle(600,200,620,150,550,50);    fill(lerpColor(mbldg,nbldg,.66));    triangle(500,200,600,200,550,50);}           if((mouseY&gt;570)){                 fill(lerpColor(mgrass,ngrass,1));      rect(-1,450,701,125);      rect(-1,420,701,300)    fill(lerpColor(mminiriver,nminiriver,1));    rect(-1,550,701,31);      fill(lerpColor(mriver,nriver,1));       rect(-1,555,701,20);    stroke(1);        fill(lerpColor(mbldg,nbldg,1));       rect(50,300,50,400);    quad(50,300,70,250,120,250,100,300);    fill(lerpColor(mbldgshd,nbldgshd,1));    quad(120,250,120,700,100,700,100,300);      fill(lerpColor(mbldg,nbldg,1));    rect(200,500,70,400);    quad(200,500,220,450,290,450,270,500);    fill(lerpColor(mbldgshd,nbldgshd,1));    quad(290,450,290,700,200,700,200,500);    fill(lerpColor(mbldg,nbldg,1));    rect(500,200,100,700);    quad(500,200,520,150,620,150,600,200);    fill(lerpColor(mbldgshd,nbldgshd,1));    quad(600,200,620,150,620,700,600,700);        triangle(600,200,620,150,550,50);    fill(lerpColor(mbldg,nbldg,1));    triangle(500,200,600,200,550,50);}        println(&quot;mouseX= &quot;+mouseX+&quot;, mouseY= &quot;+mouseY);  }    function keyPressed() {  }  function mousePressed() {  }</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423892282</link>
         <description><![CDATA[<div>Sam Aqsa and Alyssa<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:45:46 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423892282</guid>
      </item>
      <item>
         <title>Omar, Ashely and Yoseleyn</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423893020</link>
         <description><![CDATA[<div><a href="https://editor.p5js.org/omar_Najih/sketches/hBHxI28i0">https://editor.p5js.org/omar_Najih/sketches/hBHxI28i0</a></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:46:54 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423893020</guid>
      </item>
      <item>
         <title>Omar, Ashely and Yoseleyn</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423894659</link>
         <description><![CDATA[<div> var rain = [];<br>var rainingNow = true;<br>var bgcolor = (100, 100, 100);<br><br>function setup() {<br>  createCanvas(600, 600);<br>  //frameRate(60);<br>  <br>  for (i = 0; i &lt; 100; i++) {<br>    rain[i] = new Rain(random(50, 550), random(0, -3000));<br>  }<br>}<br><br>function draw() {<br>  background(bgcolor);<br>  flower();<br>  ground();<br>  //Rain();<br>  //console.log(mouseX, mouseY);<br><br>  //Check if it's raining or sunny<br>  if (rainingNow == true) {<br>    //background(100);<br>    for (i = 0; i &lt; rain.length; i++) {<br>      rain[i].dropRain();<br>      rain[i].splash();<br>    }<br>  } else {<br>    drawSun();<br>    //background(160,209,230); <br>  }<br>}<br><br>function ground() {<br>  //noStroke();<br>  fill(170, 150, 146, 240);<br>  rect(0, 530, 600, 530);<br>}<br><br>function Rain(x, y) {<br>  this.x = x;<br>  this.y = y;<br>  //this.gravity = 9.8;<br>  this.length = 15;<br>  this.r = 0;<br>  this.opacity = 200;<br><br><br>  this.dropRain = function() {<br>    noStroke();<br>    fill(255);<br>    //rect(this.x, this.y,3,15);<br>    ellipse(this.x, this.y, 3, this.length);<br>    this.y = this.y + 6 //+ frameCount/60;<br>    if (this.y &gt; 540) {<br>      this.length = this.length - 5;<br>      //this.y= random(0,-100);<br>    }<br>    if (this.length &lt; 0) {<br>      this.length = 0;<br>    }<br>  }<br><br>  this.splash = function() {<br>    strokeWeight(2);<br>    //stroke(245, 200/frameCount);<br>    stroke(245, this.opacity);<br>    noFill();<br>    if (this.y &gt; 540) {<br>      ellipse(this.x, 550, this.r * 2, this.r / 2);<br>      this.r++;<br>      this.opacity = this.opacity - 10;<br><br>      //keep the rain dropping<br>      if (this.opacity &lt; 0) {<br>        this.y = random(0, -100);<br>        this.length = 15;<br>        this.r = 0;<br>        this.opacity = 200;<br>      }<br>    }<br>  }<br>}<br><br> <br>function flower() {<br>  //drawFlower();<br>  <br>  //flower1<br>  for (var r11 = 0; r11 &lt; 10; r11++) {<br>    stroke(85,107,47,20);<br>    strokeWeight(3);<br>    if (frameCount &lt;= 600) {<br>      line(400, 550, 400, 400 + frameCount / 10);<br>    }<br>    if (frameCount &gt; 600) {<br>      line(400, 550, 400, 460);<br>    }<br>    noStroke();<br>  }<br><br>  push();<br>  fill(230, 190, 230, 240);<br>  translate(400, 400);<br>  noStroke();<br>  //rotate(radians(frameCount / 2));<br>  for (var r1 = 0; r1 &lt; 10; r1++) {<br>    if (frameCount &lt;= 600) {<br>      ellipse(0, 10 + frameCount / 20, 10 + frameCount / 40, 20 + frameCount / 20);<br>    }<br>    if (frameCount &gt; 600) {<br>      ellipse(0, 40, 25, 50);<br>    }<br>    rotate(PI / 5);<br>  }<br>  pop();<br><br><br>  //flower2<br>  for (var r21 = 0; r21 &lt; 10; r21++) {<br>    stroke(85,107,47,20);<br>    strokeWeight(3);<br>    if (frameCount &lt;= 600) {<br>      line(300, 580, 300, 430 + frameCount / 10);<br>    }<br>    if (frameCount &gt; 600) {<br>      line(300, 580, 300, 490);<br>    }<br>    noStroke();<br>  }<br>  <br>  push();<br>  fill(235, 194, 204, 240);<br>  translate(300, 430);<br>  noStroke();<br><br>  for (var r2 = 0; r2 &lt; 10; r2++) {<br>    if (frameCount &lt;= 600) {<br>      ellipse(0, 10 + frameCount / 20, 10 + frameCount / 40, 20 + frameCount / 20);<br>    }<br>    if (frameCount &gt; 600) {<br>      ellipse(0, 40, 25, 50)<br>    }<br>    rotate(PI / 5);<br>  }<br>  pop();<br>  <br>  <br>  //flower3<br>   for (var r31 = 0; r31 &lt; 10; r31++) {<br>    stroke(85,107,47,20);<br>    strokeWeight(3);<br>    if (frameCount &lt;= 600) {<br>      line(180, 535, 180, 390 + frameCount / 10);<br>    }<br>    if (frameCount &gt; 600) {<br>      line(180, 535, 180, 435);<br>    }<br>    noStroke();<br>  }<br>  <br>  push();<br>  fill(245, 204, 174, 240);<br>  translate(180, 385);<br>  noStroke();<br>  for (var r3 = 0; r3 &lt; 10; r3++) {<br>    if (frameCount &lt;= 600) {<br>      ellipse(0, 10 + frameCount / 20, 10 + frameCount / 40, 20 + frameCount / 20);<br>    }<br>    if (frameCount &gt; 600) {<br>      ellipse(0, 40, 25, 50)<br>    }<br>    rotate(PI / 5);<br>  }<br>  pop();<br><br>  <br>  //flower4<br>     for (var r41 = 0; r41 &lt; 10; r41++) {<br>    stroke(85,107,47,20);<br>    strokeWeight(3);<br>    if (frameCount &lt;= 600) {<br>      line(510, 575, 510, 425 + frameCount / 10);<br>    }<br>    if (frameCount &gt; 600) {<br>      line(510, 575, 510, 485);<br>    }<br>    noStroke();<br>  }<br>  <br>  push();<br>  fill(245, 174, 154, 240);<br>  translate(510, 425);<br>  noStroke();<br>  for (var r4 = 0; r4 &lt; 10; r4++) {<br>    if (frameCount &lt;= 600) {<br>      ellipse(0, 10 + frameCount / 20, 10 + frameCount / 40, 20 + frameCount / 20);<br>    }<br>    if (frameCount &gt; 600) {<br>      ellipse(0, 40, 25, 50)<br>    }<br>    rotate(PI / 5);<br>  }<br>  pop();<br><br>  //flower5<br>     for (var r51 = 0; r51 &lt; 10; r51++) {<br>    stroke(85,107,47,20);<br>    strokeWeight(3);<br>    if (frameCount &lt;= 600) {<br>      line(70, 600, 70, 450 + frameCount / 10);<br>    }<br>    if (frameCount &gt; 600) {<br>      line(70, 600, 70, 510);<br>    }<br>    noStroke();<br>  }<br>  <br>  push();<br>  fill(245, 174, 184, 240);<br>  translate(70, 450);<br>  noStroke();<br>  for (var r5 = 0; r5 &lt; 10; r5++) {<br>    if (frameCount &lt;= 600) {<br>      ellipse(0, 10 + frameCount / 20, 10 + frameCount / 40, 20 + frameCount / 20);<br>    }<br>    if (frameCount &gt; 600) {<br>      ellipse(0, 40, 25, 50)<br>    }<br>    rotate(PI / 5);<br>  }<br>  pop();<br>}<br><br><br>function mousePressed() {<br>  //background(160,209,230);<br>  rainingNow = false;<br>  //Change to blue sky<br>  bgcolor = ('lightblue');<br>}<br><br>  <br>function drawSun() {<br><br>  fill(245, 187, 87);<br>  stroke(245, 187, 87);<br>  push();<br>  translate(100, 80);<br>  rotate(radians(frameCount / 2));<br>  ellipse(0, 0, 60, 60);<br>  line(0, -60, 0, -40);<br>  line(0, 40, 0, 60);<br>  line(-45, -45, -30, -30);<br>  line(45, -45, 30, -30);<br>  line(-60, 0, -40, 0);<br>  line(40, 0, 60, 0);<br>  line(-45, 45, -30, 30);<br>  line(45, 45, 30, 30);<br>  pop();<br>  noFill();<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:49:10 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423894659</guid>
      </item>
      <item>
         <title>explanation by Omar</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423895523</link>
         <description><![CDATA[<div>The first lines of code are the variables being assigned values than I use the for loop for the rain drops and when rain is true and the background is a dark color.the ground is made by the rect shapes and is a brown color. Than I used an else statement to make a sun when the rain is gone when I press the picture to change the weather. Than I made flowers with functions than I used an if statement to make the flowers and i made 5 and changed the location on the canvas for each flower. than I used mouse press to change the weather manually. I made it so the flowers bloom and rotate with the pop command and rotate command. I also used the these commands in the sun.</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:50:34 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423895523</guid>
      </item>
      <item>
         <title>Valery and Sofiya</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423899268</link>
         <description><![CDATA[<div>https://editor.p5js.org/wildgetcoo126/sketches/RoT4jn4-F</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:56:09 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423899268</guid>
      </item>
      <item>
         <title>Meilyn &amp; Fatima</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423899708</link>
         <description><![CDATA[<div><a href="https://editor.p5js.org/meilynchan/sketches/-9_hU3J3e">https://editor.p5js.org/meilynchan/sketches/-9_hU3J3e</a><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:56:45 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423899708</guid>
      </item>
      <item>
         <title>GiselaF and NathanZ</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423899951</link>
         <description><![CDATA[<div>https://editor.p5js.org/NZelinger/sketches/IJ46u3tP7<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:57:05 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423899951</guid>
      </item>
      <item>
         <title>fatima, MEILYN</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423900406</link>
         <description><![CDATA[<div>function setup() {<br>  createCanvas(800, 600);<br>  sy = 0<br>}<br><br>function draw() {<br>  //the blue background<br>  background(0,220,220)<br>  <br>  sky(400);<br>  house();<br>  trees(90, 90, 20, 100);<br>  robot();<br>  robotFace(20, 10);  <br>  pond(200, 90);<br>  <br>  <br>}<br><br>function house(){<br>  stroke(0);<br>  fill('grey');<br>  triangle(35, 150, 357, 152, 200,60);<br>  <br>  // house<br>  fill('rosybrown');<br>  rect(75,150,250,250);<br>  <br>  // door<br>  fill('black');<br>  rect(100,250, 75,150);<br>  <br>  // door knob<br>  fill('yellow');<br>  noStroke();<br>  ellipse(110, 330, 10,10);<br>}<br><br>function trees(leavesX, leavesY, trunkX, trunkY){<br>  //the tree trunks<br>  fill('brown')<br>  rect(595,300,trunkX, trunkY);<br>  rect(695,300,trunkX, trunkY);<br>  <br>  //the tree leaves<br>  fill('green')<br>  ellipse(605,295,leavesX, leavesY);<br>  ellipse(705,295,leavesX, leavesY);<br>}<br><br>//this function draws the sky<br>function sky(skyWidth){<br><br> if(mouseX &gt; skyWidth || mouseX &lt; 0){<br>    background(0)<br>    <br>    noStroke();<br>    fill('white')<br>    ellipse(mouseX, mouseY, 70, 70);<br>    <br>    fill('white')<br>    rect(-100, 350, 2000, height, 20);<br>  }<br>  else{<br>    noStroke();<br>    fill('gold')<br>    ellipse(mouseX, mouseY, 100, 100);<br>    <br>    fill('white')<br>    rect(-100, 350, 2000, height, 20);<br>  } <br>  <br>  <br>  if(mouseX &gt; 400){<br>  for(var x = 0; x &lt; 800; x = x + 40){<br>  fill('white')<br>  ellipse(x, sy + 50, 10, 10);<br>    ellipse(x, sy + 100, 10, 10);<br>  ellipse(x, sy, 10, 10);<br>  ellipse(x, sy - 50, 10, 10);<br>    <br>  sy += .05<br>    }<br>    <br>    <br>  }<br>}<br><br>function robot(){<br><br>  fill('silver')<br>  <br>  //body<br>  rect(450, 380, 55, 75, 20);<br>  <br>  //neck<br>  rect(465, 370, 20, 20);<br>  <br>  //head<br>  rect(440, 300, 70, 70);<br>  <br>  //the shoulders<br>  ellipse(445, 390, 20, 20);<br>  ellipse(510, 390, 20, 20);<br>  <br>  //the arms<br>  rect(440, 390, 5, 50);<br>  rect(510, 390, 5, 50);<br>  <br>  //the hands<br>  ellipse(443, 450, 10, 20);<br>  ellipse(513, 450, 10, 20);<br>  <br>  //the upper legs<br>  rect(455, 450, 5, 50);<br>  rect(495, 450, 5, 50);<br>  <br>  //knees and feet<br>  ellipse(460, 490, 20, 20);<br>  ellipse(500, 490, 20, 20);<br>   ellipse(460, 545, 20, 15);<br>  ellipse(500, 545, 20, 15);<br>  <br>  //the lower legs<br>  rect(455, 490, 5, 50);<br>  rect(500, 490, 5, 50);<br><br>   <br>  <br>}<br><br>//this function draws the small pond in front of the house<br>function pond(pondWidth, pondHeight){<br> fill('blue')<br>  rect(140, 450, pondWidth, pondHeight, 40); <br>}<br><br>//this function draws the robot's face<br>function robotFace(eyeLength, eyeHeight){<br>  //this draws the mouth of the robot<br>  fill('brown')<br>  rect(470, 350, eyeLength, eyeHeight)<br>  <br>  //this if else statement uses mouseIsPressed to make the robot blink<br>  if(mouseIsPressed){<br>    fill('brown')<br> rect(450, 330, 10, 5)<br>  rect(490, 330, 10, 5)<br>  }<br>  <br>  else{<br>    fill('brown')<br>  rect(450, 330, 10, 10)<br>  rect(490, 330, 10, 10)<br>  }<br>    <br><br>  <br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:57:43 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423900406</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/423901140</link>
         <description><![CDATA[<div>https://www.lucidchart.com/documents/edit/1e29da8d-51fa-45ca-bcf1-e851f8df2f72?shared=true&amp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-13 16:58:47 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/423901140</guid>
      </item>
      <item>
         <title>Meilyn &amp; Fatima</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/424070086</link>
         <description><![CDATA[<div>Our code first starts off with the setup. After setting our canvas size, we created six functions. One function contains two if statements and one for loop to make up the changing sky background. The user can change the sky by moving their mouse. The sky will change from a nice sunny day to a snowy night. Two functions create both the trees and the house. We have one function for a pond and one for the body of our robot. Lastly we have a separate function that draws the robot's face. This function includes an if statement with mouseIsPressed that basically allows the robot to blink when the screen is pressed.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-14 00:01:57 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/424070086</guid>
      </item>
      <item>
         <title>Emily and Valeria</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/424093795</link>
         <description><![CDATA[<div>The size of our canvas was (600,400) and before began to go more into the code, we had to call the variables we were going to use which were b,c, speed, and mouse = false. In the Draw Function we had to call all our functions and add the if statement for our animation. The Barn function draws our barn using a rectangle and a triangle, it also uses rectangles for the windows and doors. We included a If statement with the mouseIsPressed to mix up our scene, when the mouse is pressed the barns door opens, the curtains open to show a person in the window, the time is now night time and a shower of stars occur that we created using a for loop and our variables c,speed, and mouse = false . The cloud function draws our cloud into the sky using ellipses and a curved rectangle. We used variables b, speed, and mouse = false to be able to add animation to our cloud, now with this if statement, our cloud moves from left ot right across the sky. The grass function creates a green rectangle which makes the scene have grass in it. The Sun function uses ellipses to make the canvas have a sun. This function also has a if statement with the mouseIsPressed that turned the yellow ellipse into a black one to represent a moon. The Flower function draws flowers onto the grass, in this function we used a for loop to make a row of flowers. The cow function draws a small cute cow visible in the bottom left screen. The Bee function creates a bee out of ellipses that follows you around due to mouseX, we added an if statement that when the mouse is clicked the bee will turn into a bat to go with the night time theme. The Function head,body, and wheels creates the truck visible on the east side of the screen.</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-14 03:06:12 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/424093795</guid>
      </item>
      <item>
         <title>Project by Sofiya and Valery</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/424366266</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/441901454/e9cedeac3c415ac6a73324473a43acac/My_First_Document.jpeg" />
         <pubDate>2019-12-16 01:57:27 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/424366266</guid>
      </item>
      <item>
         <title>Sofiya&#39;s and Valery&#39;s code explanation</title>
         <author></author>
         <link>https://padlet.com/kmason14/dfgoteko87r8/wish/424371866</link>
         <description><![CDATA[<div>   We began our code by using the create canvas function imbedded into p5 and changing the arguments to create the canvas we wanted (600 by 400). Then we created the car functions by making wheels using ellipses and an arc to make the general shape of the car. We also created the building, sters and cheese moon functions in order to make the parts of the scene. At first we wrote out what we wanted in each function and created parameters (all of our functions use x and y), then called them and put in arguments .We added loops and if statements to certain functions in order to make the scene more artistically appealing. For example we used a “for loop” in order to repeat the row of sters function and used a random function in order to create the color blinking for the stars. <br><br></div><div>    We also used and “if statement” in order to change background color when we press the mouse in order to make the code more interactive.  When mouseIsPressed is true the background color is gray but when it’s false the color is black. The most important if statement used in our code was to create animation for the cars. If x was less than 900 the cars would move x+1 which means they moved forwards on the x axis. If x was greater than 900 the cars would go back to the starting point and the animation would start again. Together all of these elements worked together to create a our cityscape/highway scene.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-12-16 02:37:46 UTC</pubDate>
         <guid>https://padlet.com/kmason14/dfgoteko87r8/wish/424371866</guid>
      </item>
   </channel>
</rss>
