top of page
Blog: Blog2
Search

Partner Mood Guesser - p5.js Sketch #6

  • Writer: anmonaco
    anmonaco
  • Dec 8, 2018
  • 1 min read

I worked with Adrian in class on this sketch. What we did first is create four different moods, happy, tired, stressed, and angry. We then used shapes and text to make faces for each mood. Our first challenge was figuring out new shapes to make the faces look good, including arcs. The arc syntax is this arc(100,170,40,40,0,PI + QUARTER_PI, CHORD). After we figured this out we put background mood colors to each of the stages, and added words that resonated with the mood to each one. We also added in dog images of each mood. A challenge we faced was making the arrays of words work in the stages, but we soon figured it out.

In the end, our sketch has 5 stages. The first one is the title stage, and the other ones each represent a different mood.

Here is a link to our code: https://editor.p5js.org/anna10128/sketches/S1T89a6AQ


 
 
 

Comments


©2018 by Anna Monaco. Proudly created with Wix.com

  • facebook
  • twitter
  • linkedin
bottom of page