Skip to content
On this page

Week 4 Homework:

Interaction

Assignment

Create a sketch that adds objects based on interaction (mouse press, keystroke, etc) that interact with each other (collision, repulsion, etc.) or create a sketch that makes faces which have multiple dimensions of variability (skin color, eyes, ears, mouth, hair, age, etc). A new face should be created every time you click the mouse. For either example, write the sketch as pseudo-code first, then fill in your code afterwards.

Extra Credit: upload your work to a github pages repo and share links to both the source code and the live page of your sketch

Reading

  • Debugging p5- instead of a reading response, apply what you've learned to how you write your code and document your process.

Optional Reading on Vectors