<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>추상화 결과물 공유 by 곽혜정</title>
      <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2023-07-13 14:10:50 UTC</pubDate>
      <lastBuildDate>2023-07-23 23:21:29 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>3차시 추상화 결과물 공유</title>
         <author>bbbtl6645</author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2644468602</link>
         <description><![CDATA[<div>컴퓨터&nbsp;배경화면, 인스타 게시용, 카카오톡프로필 사진, 동영상 등으로 다양하게 제작해 보세요. </div>]]></description>
         <enclosure url="" />
         <pubDate>2023-07-13 14:14:23 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2644468602</guid>
      </item>
      <item>
         <title>동영상이 업로드 안되면...</title>
         <author>bbbtl6645</author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2646878517</link>
         <description><![CDATA[<div>나눠드린&nbsp;USB에 저장해 주세요.</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-07-18 03:41:39 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2646878517</guid>
      </item>
      <item>
         <title>메인 페이지로 돌아가고 싶을 때</title>
         <author>bbbtl6645</author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2646879444</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet.com/bbbtl6645/padlet-782yivak47fbdid" />
         <pubDate>2023-07-18 03:43:05 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2646879444</guid>
      </item>
      <item>
         <title>21521 임예설</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647799609</link>
         <description><![CDATA[<div>int numObjects = 90; // 물체의 개수를 3배로 늘림 (기존 30개 x 3)<br><br>float[] objectX = new float[numObjects];<br>float[] objectY = new float[numObjects];<br>float[] objectSize = new float[numObjects];<br>color[] objectColor = new color[numObjects];<br><br>void setup() {<br>&nbsp; size(1080, 1080);<br>&nbsp; noStroke(); // 윤곽선 제거<br>&nbsp; ellipseMode(CENTER);<br>&nbsp;&nbsp;<br>&nbsp; // 물체들 초기화<br>&nbsp; for (int i = 0; i &lt; numObjects; i++) {<br>&nbsp; &nbsp; objectX[i] = random(width);<br>&nbsp; &nbsp; objectY[i] = random(height);<br>&nbsp; &nbsp; objectSize[i] = random(20, 50);<br>&nbsp; &nbsp; objectColor[i] = color(random(255), random(255), random(255), 150); // 알파 값(투명도) 추가<br>&nbsp; }<br>}<br><br>void draw() {<br>&nbsp; background(0); // 배경을 검은색으로 설정<br>&nbsp;&nbsp;<br>&nbsp; // 물체들 그리기<br>&nbsp; for (int i = 0; i &lt; numObjects; i++) {<br>&nbsp; &nbsp; fill(objectColor[i]);<br>&nbsp; &nbsp; ellipse(objectX[i], objectY[i], objectSize[i], objectSize[i]);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 물체들 자동으로 움직이도록 위치 변화<br>&nbsp; &nbsp; objectX[i] += random(-2, 2);<br>&nbsp; &nbsp; objectY[i] += random(-2, 2);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 화면 벗어나지 않도록 제한<br>&nbsp; &nbsp; objectX[i] = constrain(objectX[i], 0, width);<br>&nbsp; &nbsp; objectY[i] = constrain(objectY[i], 0, height);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 색상 변화<br>&nbsp; &nbsp; objectColor[i] = color(random(255), random(255), random(255), 150); // 알파 값(투명도) 추가<br>&nbsp; }<br>&nbsp; saveFrame("my image_####.png");<br>}<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2092663721/8c5a3e9e1ea5a9b1f497729b70440b5e/my_image_0001.png" />
         <pubDate>2023-07-19 08:59:22 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647799609</guid>
      </item>
      <item>
         <title>11322이준성</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647803745</link>
         <description><![CDATA[<div>int personX;&nbsp; &nbsp; &nbsp;// 사람의 x 좌표<br>int personY;&nbsp; &nbsp; &nbsp;// 사람의 y 좌표<br>int personSpeed;&nbsp; &nbsp; &nbsp;// 사람의 이동 속도<br>int personSize;&nbsp; &nbsp; &nbsp;// 사람의 크기<br><br>boolean movingLeft;&nbsp; &nbsp; &nbsp;// 왼쪽으로 움직이는지 여부<br>boolean movingRight;&nbsp; &nbsp; // 오른쪽으로 움직이는지 여부<br><br>void setup() {<br>&nbsp; size(800, 400);<br>&nbsp;&nbsp;<br>&nbsp; personSize = 40;<br>&nbsp; personX = width / 2;<br>&nbsp; personY = height - personSize;<br>&nbsp; personSpeed = 5;<br>&nbsp;&nbsp;<br>&nbsp; movingLeft = true;<br>&nbsp; movingRight = false;<br>}<br><br>void draw() {<br>&nbsp; background(200);<br>&nbsp;&nbsp;<br>&nbsp; // 사람 이동<br>&nbsp; movePerson();<br>&nbsp;&nbsp;<br>&nbsp; // 사람 그리기<br>&nbsp; drawPerson();<br>&nbsp;&nbsp;<br>&nbsp; // 보행 신호등 그리기<br>&nbsp; drawTrafficLight();<br>&nbsp;&nbsp;<br>&nbsp; // 보행 신호 체크<br>&nbsp; checkTrafficLight();<br>}<br><br>void movePerson() {<br>&nbsp; if (movingLeft &amp;&amp; personX &gt; personSize / 2) {<br>&nbsp; &nbsp; personX -= personSpeed;<br>&nbsp; } else if (movingRight &amp;&amp; personX &lt; width - personSize / 2) {<br>&nbsp; &nbsp; personX += personSpeed;<br>&nbsp; }<br>}<br><br>void drawPerson() {<br>&nbsp; // 몸<br>&nbsp; fill(255, 0, 0);<br>&nbsp; rect(personX - personSize / 4, personY - personSize, personSize / 2, personSize);<br>&nbsp;&nbsp;<br>&nbsp; // 머리<br>&nbsp; fill(255);<br>&nbsp; ellipse(personX, personY - personSize * 1.5, personSize / 2, personSize / 2);<br>&nbsp;&nbsp;<br>&nbsp; // 다리<br>&nbsp; fill(0);<br>&nbsp; rect(personX - personSize / 4, personY, personSize / 2, personSize);<br>}<br><br>void drawTrafficLight() {<br>&nbsp; // 신호등 기둥<br>&nbsp; fill(100);<br>&nbsp; rect(width / 2 - 10, height / 2, 20, height / 2);<br>&nbsp;&nbsp;<br>&nbsp; // 신호등 불<br>&nbsp; fill(255, 0, 0);<br>&nbsp; ellipse(width / 2, height / 2 + 30, 30, 30);<br>}<br><br>void checkTrafficLight() {<br>&nbsp; if (movingLeft &amp;&amp; personX &lt; width / 2 - 20 &amp;&amp; personX &gt; width / 2 - 70) {<br>&nbsp; &nbsp; movingLeft = false;<br>&nbsp; &nbsp; movingRight = true;<br>&nbsp; } else if (movingRight &amp;&amp; personX &gt; width / 2 + 20 &amp;&amp; personX &lt; width / 2 + 70) {<br>&nbsp; &nbsp; movingLeft = true;<br>&nbsp; &nbsp; movingRight = false;<br>&nbsp; }<br>saveFrame("my image_####.png");<br>}<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2092667127/7b76156040e204667e871e03766b7924/gh.mp4" />
         <pubDate>2023-07-19 09:10:15 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647803745</guid>
      </item>
      <item>
         <title>10906김백준</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647804128</link>
         <description><![CDATA[<div>int personCount = 1;<br>boolean isClicked = false;<br>int[] expressions = new int[3]; // 각 사람의 표정을 저장하는 배열<br><br>void setup() {<br>&nbsp; size(800, 600);<br>&nbsp; background(0);<br>&nbsp; randomExpressions(); // 초기 표정을 랜덤하게 설정<br>}<br><br>void draw() {<br>&nbsp; if (isClicked) {<br>&nbsp; &nbsp; background(0);<br>&nbsp; &nbsp; for (int i = 0; i &lt; personCount; i++) {<br>&nbsp; &nbsp; &nbsp; float xOffset = 200 * i;<br>&nbsp; &nbsp; &nbsp; float yOffset = 0;<br>&nbsp; &nbsp; &nbsp; drawPerson(width / 2 + xOffset, height / 2 + yOffset, i);<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; updateExpressions(); // 표정을 계속해서 업데이트<br>&nbsp; } else {<br>&nbsp; &nbsp; // 공포스러운 느낌 요소<br>&nbsp; &nbsp; // 배경<br>&nbsp; &nbsp; fill(0);<br>&nbsp; &nbsp; rect(0, 0, width, height);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 불규칙한 선들<br>&nbsp; &nbsp; randomLines();<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 마크 로스코 스타일 요소<br>&nbsp; &nbsp; // 피카소 스타일 요소<br>&nbsp; &nbsp; // 몬드리안 스타일 요소<br>&nbsp; &nbsp; drawPicassoMondrianStyle();<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 살짝 으스스한 느낌 요소<br>&nbsp; &nbsp; // 흰색 눈 동공<br>&nbsp; &nbsp; fill(255);<br>&nbsp; &nbsp; ellipse(width / 2 - 40, height / 2 - 20, 10, 10);<br>&nbsp; &nbsp; ellipse(width / 2 + 40, height / 2 - 20, 10, 10);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 까만 입<br>&nbsp; &nbsp; noFill();<br>&nbsp; &nbsp; stroke(0);<br>&nbsp; &nbsp; strokeWeight(2);<br>&nbsp; &nbsp; arc(width / 2, height / 2 + 60, 100, 60, 0, PI);<br>&nbsp; }<br>&nbsp; &nbsp;saveFrame("my image_####.png");<br>}<br><br>void randomLines() {<br>&nbsp; stroke(255, 255, 255);<br>&nbsp; strokeWeight(2);<br>&nbsp;&nbsp;<br>&nbsp; for (int i = 0; i &lt; 1000; i++) {<br>&nbsp; &nbsp; float x1 = random(width);<br>&nbsp; &nbsp; float y1 = random(height);<br>&nbsp; &nbsp; float x2 = random(width);<br>&nbsp; &nbsp; float y2 = random(height);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; line(x1, y1, x2, y2);<br>&nbsp; }<br>}<br><br>void drawPicassoMondrianStyle() {<br>&nbsp; // 피카소 스타일 요소<br>&nbsp; // 머리<br>&nbsp; fill(247, 220, 111);<br>&nbsp; ellipse(width / 2, height / 2, 200, 200);<br><br>&nbsp; // 눈<br>&nbsp; fill(0);<br>&nbsp; ellipse(width / 2 - 40, height / 2 - 20, 30, 30);<br>&nbsp; ellipse(width / 2 + 40, height / 2 - 20, 30, 30);<br><br>&nbsp; // 코<br>&nbsp; fill(255, 125, 75);<br>&nbsp; triangle(width / 2, height / 2 + 10, width / 2 - 20, height / 2 + 40, width / 2 + 20, height / 2 + 40);<br><br>&nbsp; // 입<br>&nbsp; noFill();<br>&nbsp; stroke(0);<br>&nbsp; strokeWeight(4);<br>&nbsp; arc(width / 2, height / 2 + 60, 100, 60, 0, PI);<br><br>&nbsp; // 몬드리안 스타일 요소<br>&nbsp; // 가로 선<br>&nbsp; stroke(255, 255, 255);<br>&nbsp; strokeWeight(10);<br>&nbsp; line(0, height / 2, width, height / 2);<br>&nbsp; line(0, height / 2 + 100, width, height / 2 + 100);<br>&nbsp; line(0, height / 2 + 200, width, height / 2 + 200);<br>&nbsp; line(0, height / 2 + 300, width, height / 2 + 300);<br>&nbsp;&nbsp;<br>&nbsp; // 세로 선<br>&nbsp; line(width / 2, 0, width / 2, height);<br>&nbsp; line(width / 2 + 100, 0, width / 2 + 100, height);<br>&nbsp; line(width / 2 + 200, 0, width / 2 + 200, height);<br>&nbsp; line(width / 2 + 300, 0, width / 2 + 300, height);<br>}<br><br>void drawPerson(float x, float y, int index) {<br>&nbsp; // 각 사람의 위치에 따라 표정을 다르게 그립니다.<br>&nbsp; if (index == 0) {<br>&nbsp; &nbsp; // 첫 번째 사람<br>&nbsp; &nbsp; drawExpression(x, y, expressions[0]);<br>&nbsp; } else if (index == 1) {<br>&nbsp; &nbsp; // 두 번째 사람<br>&nbsp; &nbsp; drawExpression(x, y, expressions[1]);<br>&nbsp; } else if (index == 2) {<br>&nbsp; &nbsp; // 세 번째 사람<br>&nbsp; &nbsp; drawExpression(x, y, expressions[2]);<br>&nbsp; }<br>}<br><br>void drawExpression(float x, float y, int expression) {<br>&nbsp; // 표정에 따라 그림을 그립니다.<br>&nbsp; if (expression == 0) {<br>&nbsp; &nbsp; // 행복한 표정<br>&nbsp; &nbsp; fill(247, 220, 111);<br>&nbsp; &nbsp; ellipse(x, y, 200, 200);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 눈<br>&nbsp; &nbsp; fill(0);<br>&nbsp; &nbsp; ellipse(x - 40, y - 20, 30, 30);<br>&nbsp; &nbsp; ellipse(x + 40, y - 20, 30, 30);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 코<br>&nbsp; &nbsp; fill(255, 125, 75);<br>&nbsp; &nbsp; triangle(x, y + 10, x - 20, y + 40, x + 20, y + 40);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 입 (웃는 표정)<br>&nbsp; &nbsp; noFill();<br>&nbsp; &nbsp; stroke(0);<br>&nbsp; &nbsp; strokeWeight(4);<br>&nbsp; &nbsp; arc(x, y + 60, 100, 60, 0, PI);<br>&nbsp; } else if (expression == 1) {<br>&nbsp; &nbsp; // 슬픈 표정<br>&nbsp; &nbsp; fill(247, 220, 111);<br>&nbsp; &nbsp; ellipse(x, y, 200, 200);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 눈<br>&nbsp; &nbsp; fill(0);<br>&nbsp; &nbsp; ellipse(x - 40, y - 20, 30, 10);<br>&nbsp; &nbsp; ellipse(x + 40, y - 20, 30, 10);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 코<br>&nbsp; &nbsp; fill(255, 125, 75);<br>&nbsp; &nbsp; triangle(x, y + 10, x - 20, y + 40, x + 20, y + 40);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 입 (슬픈 표정)<br>&nbsp; &nbsp; noFill();<br>&nbsp; &nbsp; stroke(0);<br>&nbsp; &nbsp; strokeWeight(4);<br>&nbsp; &nbsp; arc(x, y + 80, 100, 40, PI, TWO_PI);<br>&nbsp; } else if (expression == 2) {<br>&nbsp; &nbsp; // 놀란 표정<br>&nbsp; &nbsp; fill(247, 220, 111);<br>&nbsp; &nbsp; ellipse(x, y, 200, 200);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 눈<br>&nbsp; &nbsp; fill(0);<br>&nbsp; &nbsp; ellipse(x - 40, y - 20, 10, 30);<br>&nbsp; &nbsp; ellipse(x + 40, y - 20, 10, 30);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 코<br>&nbsp; &nbsp; fill(255, 125, 75);<br>&nbsp; &nbsp; triangle(x, y + 10, x - 20, y + 40, x + 20, y + 40);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 입 (놀란 표정)<br>&nbsp; &nbsp; noFill();<br>&nbsp; &nbsp; stroke(0);<br>&nbsp; &nbsp; strokeWeight(4);<br>&nbsp; &nbsp; arc(x, y + 60, 100, 80, PI + QUARTER_PI, TWO_PI - QUARTER_PI);<br>&nbsp; }<br><br>}<br><br>void updateExpressions() {<br>&nbsp; // 각 사람의 표정을 업데이트합니다.<br>&nbsp; for (int i = 0; i &lt; expressions.length; i++) {<br>&nbsp; &nbsp; expressions[i] = floor(random(3)); // 0, 1, 2 중 하나의 표정을 랜덤하게 선택<br>&nbsp; }<br>}<br><br>void randomExpressions() {<br>&nbsp; // 초기 표정을 랜덤하게 설정합니다.<br>&nbsp; for (int i = 0; i &lt; expressions.length; i++) {<br>&nbsp; &nbsp; expressions[i] = floor(random(3)); // 0, 1, 2 중 하나의 표정을 랜덤하게 선택<br>&nbsp; }<br>}<br><br>void mousePressed() {<br>&nbsp; if (isClicked) {<br>&nbsp; &nbsp; personCount = 1;<br>&nbsp; &nbsp; isClicked = false;<br>&nbsp; &nbsp; background(0);<br>&nbsp; } else {<br>&nbsp; &nbsp; if (personCount &lt; 3) {<br>&nbsp; &nbsp; &nbsp; personCount++;<br>&nbsp; &nbsp; } else {<br>&nbsp; &nbsp; &nbsp; personCount = 1;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; isClicked = true;<br>&nbsp; }<br>}<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2092667382/ea1a434f6442ae8ffcb45c5985077a7b/exxx.mp4" />
         <pubDate>2023-07-19 09:11:04 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647804128</guid>
      </item>
      <item>
         <title>10624 이채원</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647804250</link>
         <description><![CDATA[<div>int numShapes = 500;<br>Shape[] shapes = new Shape[numShapes];<br><br>void setup() {<br>&nbsp; size(800, 800);<br>&nbsp; for (int i = 0; i &lt; numShapes; i++) {<br>&nbsp; &nbsp; shapes[i] = new Shape();<br>&nbsp; }<br>&nbsp; background(255);<br>}<br><br>void draw() {<br>&nbsp; background(255);<br>&nbsp; for (int i = 0; i &lt; numShapes; i++) {<br>&nbsp; &nbsp; shapes[i].update();<br>&nbsp; &nbsp; shapes[i].display();<br>&nbsp; }<br>&nbsp; saveFrame("my image_####.png");<br>}<br><br>class Shape {<br>&nbsp; float x, y;<br>&nbsp; float speedX, speedY;<br>&nbsp; float size;<br>&nbsp; int shapeType;<br>&nbsp; int lifetime;<br>&nbsp; int initialLifetime;<br>&nbsp; color fillColor;<br>&nbsp;&nbsp;<br>&nbsp; Shape() {<br>&nbsp; &nbsp; x = random(width);<br>&nbsp; &nbsp; y = random(height);<br>&nbsp; &nbsp; speedX = random(-2, 2);<br>&nbsp; &nbsp; speedY = random(-2, 2);<br>&nbsp; &nbsp; size = random(5, 30);<br>&nbsp; &nbsp; shapeType = int(random(4));<br>&nbsp; &nbsp; lifetime = initialLifetime = int(random(100, 300));<br>&nbsp; &nbsp; fillColor = color(random(200, 255), random(255), random(255), 200);<br>&nbsp; }<br>&nbsp;&nbsp;<br>&nbsp; void update() {<br>&nbsp; &nbsp; x += speedX;<br>&nbsp; &nbsp; y += speedY;<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; if (x &lt; 0 || x &gt; width) {<br>&nbsp; &nbsp; &nbsp; speedX *= -1;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; if (y &lt; 0 || y &gt; height) {<br>&nbsp; &nbsp; &nbsp; speedY *= -1;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; lifetime--;<br>&nbsp; &nbsp; if (lifetime &lt;= 0) {<br>&nbsp; &nbsp; &nbsp; resetShape();<br>&nbsp; &nbsp; }<br>&nbsp; }<br>&nbsp;&nbsp;<br>&nbsp; void display() {<br>&nbsp; &nbsp; float alpha = map(lifetime, 0, initialLifetime, 0, 255);<br>&nbsp; &nbsp; fill(red(fillColor), green(fillColor), blue(fillColor), alpha);<br>&nbsp; &nbsp; noStroke();<br>&nbsp; &nbsp; switch (shapeType) {<br>&nbsp; &nbsp; &nbsp; case 0: // 점<br>&nbsp; &nbsp; &nbsp; &nbsp; ellipse(x, y, size, size);<br>&nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; &nbsp; case 1: // 선<br>&nbsp; &nbsp; &nbsp; &nbsp; float length = size * 2;<br>&nbsp; &nbsp; &nbsp; &nbsp; float angle = atan2(speedY, speedX);<br>&nbsp; &nbsp; &nbsp; &nbsp; float x2 = x + cos(angle) * length;<br>&nbsp; &nbsp; &nbsp; &nbsp; float y2 = y + sin(angle) * length;<br>&nbsp; &nbsp; &nbsp; &nbsp; stroke(red(fillColor), green(fillColor), blue(fillColor), alpha);<br>&nbsp; &nbsp; &nbsp; &nbsp; line(x, y, x2, y2);<br>&nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; &nbsp; case 2: // 면<br>&nbsp; &nbsp; &nbsp; &nbsp; float halfSize = size / 2;<br>&nbsp; &nbsp; &nbsp; &nbsp; beginShape();<br>&nbsp; &nbsp; &nbsp; &nbsp; vertex(x - halfSize, y - halfSize);<br>&nbsp; &nbsp; &nbsp; &nbsp; vertex(x + halfSize, y - halfSize);<br>&nbsp; &nbsp; &nbsp; &nbsp; vertex(x + halfSize, y + halfSize);<br>&nbsp; &nbsp; &nbsp; &nbsp; vertex(x - halfSize, y + halfSize);<br>&nbsp; &nbsp; &nbsp; &nbsp; endShape(CLOSE);<br>&nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; &nbsp; case 3: // 도형<br>&nbsp; &nbsp; &nbsp; &nbsp; float angleStep = TWO_PI / 5.0;<br>&nbsp; &nbsp; &nbsp; &nbsp; beginShape();<br>&nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; 5; i++) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; float px = x + cos(angleStep * i) * size;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; float py = y + sin(angleStep * i) * size;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vertex(px, py);<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; endShape(CLOSE);<br>&nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; }<br>&nbsp; }<br>&nbsp;&nbsp;<br>&nbsp; void resetShape() {<br>&nbsp; &nbsp; x = random(width);<br>&nbsp; &nbsp; y = random(height);<br>&nbsp; &nbsp; speedX = random(-2, 2);<br>&nbsp; &nbsp; speedY = random(-2, 2);<br>&nbsp; &nbsp; size = random(5, 20);<br>&nbsp; &nbsp; shapeType = int(random(4));<br>&nbsp; &nbsp; lifetime = initialLifetime = int(random(100, 300));<br>&nbsp; &nbsp; fillColor = color(random(255), random(255), random(255), 200);<br>&nbsp; }<br>}</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2003575069/99b04072c3ca88dbdf87bc001be742e6/movie.mp4" />
         <pubDate>2023-07-19 09:11:24 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647804250</guid>
      </item>
      <item>
         <title>20523 최하영</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647804455</link>
         <description><![CDATA[<div>&nbsp;float angle = 0; // 회전 각도 변수<br><br>float radius = 150; // 꽃잎 반지름 변수<br><br>int petalCount = 30; // 꽃잎 개수 변수<br><br><br><br>void setup() {<br><br>&nbsp; size(400, 400);<br><br>&nbsp; background(0);<br><br>&nbsp; smooth();<br><br>}<br><br><br><br>void draw() {<br><br>&nbsp; background(0);<br><br>&nbsp;&nbsp;<br><br>&nbsp; // 중앙으로 이동<br><br>&nbsp; translate(width / 2, height / 2);<br><br>&nbsp;&nbsp;<br><br>&nbsp; // 꽃잎 그리기<br><br>&nbsp; float angleStep = TWO_PI / petalCount; // 꽃잎 사이의 각도 간격<br><br>&nbsp; for (int i = 0; i &lt; petalCount; i++) {<br><br>&nbsp; &nbsp; // 꽃잎의 회전 각도<br><br>&nbsp; &nbsp; float petalAngle = angle + i * angleStep;<br><br>&nbsp; &nbsp;&nbsp;<br><br>&nbsp; &nbsp; // 꽃잎의 위치 계산<br><br>&nbsp; &nbsp; float x = cos(petalAngle) * radius;<br><br>&nbsp; &nbsp; float y = sin(petalAngle) * radius;<br><br>&nbsp; &nbsp;&nbsp;<br><br>&nbsp; &nbsp; // 꽃잎 그리기<br><br>&nbsp; &nbsp; fill(random(205), random(255), random(255));<br><br>&nbsp; &nbsp; ellipse(x, y, 40, 80);<br><br>&nbsp; }<br><br>&nbsp;&nbsp;<br><br>&nbsp; // 회전 속도 업데이트<br><br>&nbsp; angle += 0.01;<br>&nbsp; &nbsp; saveFrame("my image_####.png");<br><br>}</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2092662437/bea5b58295fb7f08a390e3f612a25a1b/my_image_0001.png" />
         <pubDate>2023-07-19 09:11:52 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647804455</guid>
      </item>
      <item>
         <title>11314 손지후</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647804531</link>
         <description><![CDATA[<div>void setup() {<br>&nbsp; frameRate(5);//속도<br><br>&nbsp; size(500, 500); // Set the size of the canvas<br><br>&nbsp; background(0); // Set the background color to white<br><br>}<br><br><br><br>void draw() {<br>&nbsp; // 반복적으로 랜덤한 도형 생성<br>&nbsp; for (int i = 0; i &lt; 30; i++) {<br>&nbsp; &nbsp; int shapeChoice = int(random(3)); // 랜덤한 도형 선택 (0: 원, 1: 사각형, 2: 삼각형)<br><br>&nbsp; &nbsp; // 랜덤한 위치와 크기로 도형 생성<br>&nbsp; &nbsp; float x = random(width);<br>&nbsp; &nbsp; float y = random(height);<br>&nbsp; &nbsp; float size = random(30, 100);<br><br>&nbsp; &nbsp; // 차가운 색상 생성<br>&nbsp; &nbsp; float r = random(100, 180);<br>&nbsp; &nbsp; float g = random(100, 180);<br>&nbsp; &nbsp; float b = random(200, 255);<br>&nbsp; &nbsp; stroke(r, g, b);<br><br>&nbsp; &nbsp; // 랜덤한 도형 그리기<br>&nbsp; &nbsp; switch (shapeChoice) {<br>&nbsp; &nbsp; &nbsp; case 0: // 원 그리기<br>&nbsp; &nbsp; &nbsp; &nbsp; ellipse(x, y, size, size);<br>&nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; &nbsp; case 1: // 사각형 그리기<br>&nbsp; &nbsp; &nbsp; &nbsp; rect(x, y, size, size);<br>&nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; &nbsp; case 2: // 삼각형 그리기<br>&nbsp; &nbsp; &nbsp; &nbsp; float halfSize = size / 2;<br>&nbsp; &nbsp; &nbsp; &nbsp; float x2 = x - halfSize;<br>&nbsp; &nbsp; &nbsp; &nbsp; float x3 = x + halfSize;<br>&nbsp; &nbsp; &nbsp; &nbsp; float y2 = y + halfSize * sqrt(3);<br>&nbsp; &nbsp; &nbsp; &nbsp; triangle(x, y - halfSize, x2, y2, x3, y2);<br>&nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; }<br>&nbsp; }<br>&nbsp;saveFrame("my image_####.png");}<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2092667401/cc11af4761ae08d438f9a77cf992f194/fghj.gif" />
         <pubDate>2023-07-19 09:12:04 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647804531</guid>
      </item>
      <item>
         <title>11320이민수</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647805296</link>
         <description><![CDATA[<div>ArrayList&lt;Fish&gt; fishes;<br>int numFishes = 30;<br><br>void setup() {<br>&nbsp; size(600, 600);<br>&nbsp; fishes = new ArrayList&lt;Fish&gt;();<br>&nbsp;&nbsp;<br>&nbsp; for (int i = 0; i &lt; numFishes; i++) {<br>&nbsp; &nbsp; float fishSize = random(20, 50);<br>&nbsp; &nbsp; fishes.add(new Fish(random(width), random(height - 100), fishSize));<br>&nbsp; }<br>}<br><br>void draw() {<br>&nbsp; drawSky();<br>&nbsp; drawSun();<br>&nbsp; drawSea();<br><br>&nbsp; // 물고기들 그리기<br>&nbsp; for (Fish fish : fishes) {<br>&nbsp; &nbsp; fish.update();<br>&nbsp; &nbsp; fish.display();<br>&nbsp; }<br>&nbsp; saveFrame("my image_####.png");<br>}<br><br>void drawSky() {<br>&nbsp; color topColor = color(135, 206, 235); // 하늘 위쪽 색상<br>&nbsp; color horizonColor = color(249, 181, 77); // 일출/일몰 선 색상<br>&nbsp; color bottomColor = color(224, 88, 129); // 하늘 아래쪽 색상<br>&nbsp;&nbsp;<br>&nbsp; for (int y = 0; y &lt; height / 2; y++) {<br>&nbsp; &nbsp; float inter = map(y, 0, height / 2, 0, 1);<br>&nbsp; &nbsp; color c = lerpColor(topColor, horizonColor, inter);<br>&nbsp; &nbsp; stroke(c);<br>&nbsp; &nbsp; line(0, y, width, y);<br>&nbsp; }<br><br>&nbsp; for (int y = height / 2; y &lt; height; y++) {<br>&nbsp; &nbsp; float inter = map(y, height / 2, height, 0, 1);<br>&nbsp; &nbsp; color c = lerpColor(horizonColor, bottomColor, inter);<br>&nbsp; &nbsp; stroke(c);<br>&nbsp; &nbsp; line(0, y, width, y);<br>&nbsp; }<br>}<br><br>float sunX, sunY; // 해의 위치<br>float sunRiseSpeed = 0.05; // 해가 떠오르는 속도<br><br>void drawSun() {<br>&nbsp; fill(255, 255, 0); // 노란색 해<br>&nbsp; sunX = map(millis() % 20000, 0, 20000, -200, width + 200); // 해가 동쪽에서 떠오르는 효과<br>&nbsp; sunY = height / 2 - 100 + cos(millis() * sunRiseSpeed) * 200; // 해가 곡선 형태로 떠오르는 효과<br>&nbsp; ellipse(sunX, sunY, 60, 60);<br>}<br><br>void drawSea() {<br>&nbsp; color waterColor = color(66, 113, 178); // 파란 바다 색상<br>&nbsp; color reflectionColor = color(224, 88, 129, 100); // 빨간색 해 반사 색상<br><br>&nbsp; fill(waterColor);<br>&nbsp; noStroke();<br>&nbsp; rect(0, height / 2, width, height / 2); // 바다 그리기<br><br>&nbsp; // 빨간색 해 반사 그리기<br>&nbsp; float reflectionY = height / 2 + 20;<br>&nbsp; fill(reflectionColor);<br>&nbsp; beginShape();<br>&nbsp; vertex(0, height);<br>&nbsp; for (float x = 0; x &lt;= width; x += 2) {<br>&nbsp; &nbsp; float inter = map(x, 0, width, 0, 1);<br>&nbsp; &nbsp; float yOffset = cos(inter * PI) * 50;<br>&nbsp; &nbsp; vertex(x, reflectionY + yOffset);<br>&nbsp; }<br>&nbsp; vertex(width, height);<br>&nbsp; endShape(CLOSE);<br>}<br><br>class Fish {<br>&nbsp; float x, y; // 위치<br>&nbsp; float speedX, speedY; // 속도<br>&nbsp; float fishSize; // 물고기 크기<br>&nbsp;&nbsp;<br>&nbsp; Fish(float x, float y, float size) {<br>&nbsp; &nbsp; this.x = x;<br>&nbsp; &nbsp; this.y = y;<br>&nbsp; &nbsp; this.fishSize = size;<br>&nbsp; &nbsp; this.speedX = random(-2, 2);<br>&nbsp; &nbsp; this.speedY = random(-1, 1);<br>&nbsp; }<br><br>&nbsp; void update() {<br>&nbsp; &nbsp; x += speedX;<br>&nbsp; &nbsp; y += speedY;<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 물고기가 화면 밖으로 나가면 반대쪽으로 나오도록 처리<br>&nbsp; &nbsp; if (x &gt; width + fishSize) {<br>&nbsp; &nbsp; &nbsp; x = -fishSize;<br>&nbsp; &nbsp; &nbsp; y = random(height - 100);<br>&nbsp; &nbsp; } else if (x &lt; -fishSize) {<br>&nbsp; &nbsp; &nbsp; x = width + fishSize;<br>&nbsp; &nbsp; &nbsp; y = random(height - 100);<br>&nbsp; &nbsp; }<br><br>&nbsp; &nbsp; if (y &gt; height - 100) {<br>&nbsp; &nbsp; &nbsp; y = height - 100;<br>&nbsp; &nbsp; &nbsp; speedY *= -1; // 화면 하단에 닿으면 위로 반사<br>&nbsp; &nbsp; } else if (y &lt; 0) {<br>&nbsp; &nbsp; &nbsp; y = 0;<br>&nbsp; &nbsp; &nbsp; speedY *= -1; // 화면 상단에 닿으면 아래로 반사<br>&nbsp; &nbsp; }<br>&nbsp; }<br><br>&nbsp; void display() {<br>&nbsp; &nbsp; // 물고기 그리기<br>&nbsp; &nbsp; float bodyColor = random(100, 255);<br>&nbsp; &nbsp; float eyeColor = random(100, 200);<br>&nbsp; &nbsp; fill(bodyColor, bodyColor, bodyColor);<br>&nbsp; &nbsp; noStroke();<br><br>&nbsp; &nbsp; // 물고기 몸통<br>&nbsp; &nbsp; ellipse(x, y, fishSize * 2, fishSize);<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; // 물고기 눈<br>&nbsp; &nbsp; fill(eyeColor);<br>&nbsp; &nbsp; float eyeX = x + fishSize * 0.6;<br>&nbsp; &nbsp; float eyeY = y - fishSize * 0.2;<br>&nbsp; &nbsp; ellipse(eyeX, eyeY, fishSize * 0.4, fishSize * 0.4);<br><br>&nbsp; &nbsp; // 물고기 꼬리<br>&nbsp; &nbsp; beginShape();<br>&nbsp; &nbsp; vertex(x - fishSize, y);<br>&nbsp; &nbsp; vertex(x - fishSize * 2, y + fishSize * 0.7);<br>&nbsp; &nbsp; vertex(x - fishSize * 2, y - fishSize * 0.7);<br>&nbsp; &nbsp; endShape(CLOSE);<br>&nbsp; }<br>}<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2092665066/f0eb92591333ab1315e687bd9d166a91/fishgif.gif" />
         <pubDate>2023-07-19 09:13:45 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647805296</guid>
      </item>
      <item>
         <title>11201구동준</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647807126</link>
         <description><![CDATA[<div>void setup() {<br>&nbsp; size(400, 400);&nbsp; // 화면 크기 설정<br>&nbsp; background(0);&nbsp; // 배경색을 검은색으로 설정<br>}<br><br>void draw() {<br>&nbsp; // 프레임마다 실행되는 코드<br>&nbsp;&nbsp;<br>&nbsp; // 움직이는 도형 그리기<br>&nbsp; float x = random(width);&nbsp; // x 좌표 랜덤값 생성<br>&nbsp; float y = random(height);&nbsp; // y 좌표 랜덤값 생성<br>&nbsp; float size = random(10, 50);&nbsp; // 도형 크기 랜덤값 생성<br>&nbsp;&nbsp;<br>&nbsp; int shapeColor = color(random(255), random(255), random(255));&nbsp; // 도형 색상 랜덤값 생성 (빨강, 파랑, 보라)<br>&nbsp; fill(shapeColor);&nbsp; // 도형 내부를 색상으로 채움<br>&nbsp;&nbsp;<br>&nbsp; // 원 또는 사각형 중에서 랜덤하게 도형 그리기<br>&nbsp; if (random(1) &gt; 0.5) {<br>&nbsp; &nbsp; ellipse(x, y, size, size);&nbsp; // 원 그리기<br>&nbsp; } else {<br>&nbsp; &nbsp; rect(x, y, size, size);&nbsp; // 사각형 그리기<br>&nbsp; }<br>}</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2092660295/259cbedbf673fb1ff5bcb3f63e66abc8/image.png" />
         <pubDate>2023-07-19 09:18:22 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647807126</guid>
      </item>
      <item>
         <title>25016 이준호, 20816 이진학</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647807174</link>
         <description><![CDATA[<div>ArrayList&lt;FloatingCircle&gt; circles = new ArrayList&lt;FloatingCircle&gt;();<br>color backgroundColor;<br><br>class FloatingCircle {<br>&nbsp; float x, y;<br>&nbsp; float radius;<br>&nbsp; float speedX, speedY;<br>&nbsp; color circleColor;<br><br>&nbsp; FloatingCircle(float xPos, float yPos, float rad, float xSpeed, float ySpeed) {<br>&nbsp; &nbsp; x = xPos;<br>&nbsp; &nbsp; y = yPos;<br>&nbsp; &nbsp; radius = rad;<br>&nbsp; &nbsp; speedX = xSpeed;<br>&nbsp; &nbsp; speedY = ySpeed;<br>&nbsp; &nbsp; circleColor = color(random(255), random(255), random(255));<br>&nbsp; }<br><br>&nbsp; void update() {<br>&nbsp; &nbsp; x += speedX;<br>&nbsp; &nbsp; y += speedY;<br><br>&nbsp; &nbsp; // 화면 벗어난 경우 반대 방향으로 이동<br>&nbsp; &nbsp; if (x &gt; width - radius || x &lt; radius) {<br>&nbsp; &nbsp; &nbsp; speedX *= -1;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; if (y &gt; height - radius || y &lt; radius) {<br>&nbsp; &nbsp; &nbsp; speedY *= -1;<br>&nbsp; &nbsp; }<br><br>&nbsp; &nbsp; // 색상 변경<br>&nbsp; &nbsp; if (frameCount % 30 == 0) { // 0.5초마다 (30 프레임마다)<br>&nbsp; &nbsp; &nbsp; circleColor = color(random(255), random(255), random(255));<br>&nbsp; &nbsp; }<br>&nbsp; }<br><br>&nbsp; void display() {<br>&nbsp; &nbsp; fill(circleColor);<br>&nbsp; &nbsp; noStroke();<br>&nbsp; &nbsp; ellipse(x, y, radius * 2, radius * 2);<br>&nbsp; }<br>}<br><br>void setup() {<br>&nbsp; size(500, 500);<br>&nbsp; backgroundColor = color(0); // 초기 배경색을 검은색으로 설정<br><br>&nbsp; for (int i = 0; i &lt; 100; i++) {<br>&nbsp; &nbsp; float x = random(width);<br>&nbsp; &nbsp; float y = random(height);<br>&nbsp; &nbsp; float radius = random(20, 50);<br>&nbsp; &nbsp; float speedX = random(-3, 3);<br>&nbsp; &nbsp; float speedY = random(-3, 3);<br><br>&nbsp; &nbsp; circles.add(new FloatingCircle(x, y, radius, speedX, speedY));<br>&nbsp; }<br>}<br><br>void draw() {<br>&nbsp; background(backgroundColor);<br><br>&nbsp; for (FloatingCircle circle : circles) {<br>&nbsp; &nbsp; circle.update();<br>&nbsp; &nbsp; circle.display();<br>&nbsp; }<br><br>&nbsp; // 배경색을 점진적으로 변경<br>&nbsp; backgroundColor = color(random(255), random(255), random(255));<br>&nbsp; saveFrame("my image_####.png");<br>}</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2003575358/6d3c73ec6904e65d2a3f4f38faa1303c/25016________.mp4" />
         <pubDate>2023-07-19 09:18:30 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647807174</guid>
      </item>
      <item>
         <title>20525 형성우</title>
         <author></author>
         <link>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647807401</link>
         <description><![CDATA[<div>int numCircles = 20; // 총 원의 개수<br>Circle[] circles = new Circle[numCircles];<br><br>void setup() {<br>&nbsp; size(800, 600);<br>&nbsp; for (int i = 0; i &lt; numCircles; i++) {<br>&nbsp; &nbsp; float x = random(width);<br>&nbsp; &nbsp; float y = random(height);<br>&nbsp; &nbsp; float radius = random(20, 40);<br>&nbsp; &nbsp; float speedX = random(-3, 3);<br>&nbsp; &nbsp; float speedY = random(-3, 3);<br>&nbsp; &nbsp; color fillColor = color(random(255), random(255), random(255), 200);<br>&nbsp; &nbsp; Circle circle = new Circle(x, y, radius, speedX, speedY, fillColor);<br>&nbsp; &nbsp; circles[i] = circle;<br>&nbsp; }<br>}<br><br>void draw() {<br>&nbsp; background(0);<br>&nbsp;&nbsp;<br>&nbsp; for (int i = 0; i &lt; numCircles; i++) {<br>&nbsp; &nbsp; circles[i].move();<br>&nbsp; &nbsp; circles[i].checkEdges();<br>&nbsp; &nbsp; circles[i].checkCollision(circles);<br>&nbsp; &nbsp; circles[i].vibrate();<br>&nbsp; &nbsp; circles[i].changeColor();<br>&nbsp; &nbsp; circles[i].display();<br>&nbsp; }<br>}<br><br>class Circle {<br>&nbsp; float x, y; // 좌표<br>&nbsp; float radius; // 반지름<br>&nbsp; float speedX, speedY; // 속도<br>&nbsp; color fillColor; // 채움 색상<br>&nbsp;&nbsp;<br>&nbsp; float vibration = 1.0; // 진동 정도<br>&nbsp; int colorChangeInterval = 30; // 색상 변화 간격 (0.03초)<br>&nbsp; int lastColorChange = millis(); // 마지막 색상 변화 시간<br>&nbsp;&nbsp;<br>&nbsp; Circle(float x, float y, float radius, float speedX, float speedY, color fillColor) {<br>&nbsp; &nbsp; this.x = x;<br>&nbsp; &nbsp; this.y = y;<br>&nbsp; &nbsp; this.radius = radius;<br>&nbsp; &nbsp; this.speedX = speedX;<br>&nbsp; &nbsp; this.speedY = speedY;<br>&nbsp; &nbsp; this.fillColor = fillColor;<br>&nbsp; }<br>&nbsp;&nbsp;<br>&nbsp; void move() {<br>&nbsp; &nbsp; x += speedX;<br>&nbsp; &nbsp; y += speedY;<br>&nbsp; }<br>&nbsp;&nbsp;<br>&nbsp; void checkEdges() {<br>&nbsp; &nbsp; if (x - radius &lt; 0 || x + radius &gt; width) {<br>&nbsp; &nbsp; &nbsp; speedX *= -1;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; if (y - radius &lt; 0 || y + radius &gt; height) {<br>&nbsp; &nbsp; &nbsp; speedY *= -1;<br>&nbsp; &nbsp; }<br>&nbsp; }<br>&nbsp;&nbsp;<br>&nbsp; void checkCollision(Circle[] circles) {<br>&nbsp; &nbsp; for (int i = 0; i &lt; numCircles; i++) {<br>&nbsp; &nbsp; &nbsp; if (circles[i] != this) {<br>&nbsp; &nbsp; &nbsp; &nbsp; float distance = dist(x, y, circles[i].x, circles[i].y);<br>&nbsp; &nbsp; &nbsp; &nbsp; float minDist = radius + circles[i].radius;<br>&nbsp; &nbsp; &nbsp; &nbsp; if (distance &lt; minDist) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; float angle = atan2(y - circles[i].y, x - circles[i].x);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; speedX = cos(angle) * abs(speedX);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; speedY = sin(angle) * abs(speedY);<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; }<br>&nbsp; }<br>&nbsp;&nbsp;<br>&nbsp; void vibrate() {<br>&nbsp; &nbsp; x += random(-vibration, vibration);<br>&nbsp; &nbsp; y += random(-vibration, vibration);<br>&nbsp; }<br>&nbsp;&nbsp;<br>&nbsp; void changeColor() {<br>&nbsp; &nbsp; if (millis() - lastColorChange &gt; colorChangeInterval) {<br>&nbsp; &nbsp; &nbsp; fillColor = color(random(255), random(255), random(255), 200);<br>&nbsp; &nbsp; &nbsp; lastColorChange = millis();<br>&nbsp; &nbsp; }<br>&nbsp; }<br>&nbsp;&nbsp;<br>&nbsp; void display() {<br>&nbsp; &nbsp; fill(fillColor);<br>&nbsp; &nbsp; ellipse(x, y, radius * 2, radius * 2);<br>&nbsp; &nbsp; saveFrame("my image_#####.png");<br>&nbsp; }<br>}<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2092662165/5de26c03c48ded1e9babdc1b6c9a89bb/20525____.mp4" />
         <pubDate>2023-07-19 09:19:04 UTC</pubDate>
         <guid>https://padlet.com/bbbtl6645/vilsz8sxmasjhqug/wish/2647807401</guid>
      </item>
   </channel>
</rss>
