• [ ] RESOURCES FROM CLASS
    • Week 6 in the Syllabus
  • [ ] TEST YOURSELF
    • Optional Worksheet
  • [x] DO:
    • Next week you will be presenting your own assignments. Duration: 5 minutes. Focus on what's happening in your sketch computationally. Write out what you're going to say and prepare any diagrams that will help you explain what's going on. See Mimi's demo video (It is much longer than the time you will have!)

      • Give yourself time to properly demo 1 aspect of your sketch.
      • Explain 1 thing you learned in making your sketch. Talk about what programming concept(s) you are using (e.g. objects and arrays, nested for loops, toggle logic, portable functions)
      • Write down what you're going to say ahead of time. Prepare diagrams to help get your point across!
    • OPTIONS FOR WHAT TO DO:

      • Mash up a couple of your past assignments.
      • Re-factor a past sketch and make it better.
      • Design a sketch that has lots of something (balls, sheep, eyes) using either arrays or arrays and objects.
      • IF you are already working with classes/objects and arrays:
        1. Re-organize / break-down your classes into the "smallest functional units" possible.
        2. Try different ways to have your objects "communicate" with each other in some way.
      • In the end the goal is to have code in draw() that only makes calls to objects. Something like:
      function draw() {
      background(0);
      
      // A single object
      apple.chop();
      // Another object
      orange.peel();
      
      // Calling a function on all of the objects in an array
      for (var i = 0; i < grapes.length; i++) {
      grapes[i].pluck();
      }
      }
      
      • [ ] READ / WATCH
        • Videos 8.1-8.10(~2 hours)
          • There's a lot, so if it's too much new information, just focus on the basics, videos 8.1, 8.2, 8.4 (~30 minute)
        • More resources from syllabus
        • p5.dom section of Chapter 13.4-13.6 in Getting Started with P5.js
      • [ ] Examples
        • Video Examples
        • Getting Started with p5.js Chapters 13_05 + 13_06