Skip to content
lastie edited this page Jan 14, 2015 · 56 revisions
  1. Sign up for a github account to be able to edit this wiki.
  2. Sign up for the class google group.
  3. Read p. 8-41 of Form + Code
  4. (completed in class) Using p5.js, create your own screen drawing: abstract design, self-portrait, alien, monster, etc. Use only 2D primitive shapes – arc(), curve(), ellipse(), line(), point(), quad(), rect(), triangle() – and basic color functions – background(), colorMode(), fill(), noFill(), noStroke(), stroke(). Here's a simple example.
  5. Create a animated application. Start over from scratch and build something with a very simple design. Focus on the logic of variables and avoid using hard-coded values. Play with mouseX and mouseY. If you are stuck, here are some ideas.
    • Experiment with motion using a single simple shape. Can you create a randomly jittering "nervous" square? (Here is a sample). A circle that spirals around the window? How could user interaction affect the shape's motion?
    • Use random() to create a painting system. Here are some examples.
  6. Follow the blog setup instructions at netid.imnyuad.com/blog.
  7. After reading the beginning of Form+Code and looking at example computational media projects write a blog post about how computation applies to something your interests. This could be your major, a different class you took last term, a personal hobby, or a cause you care about. What projects do you imagine making this term?
  8. In the same blog post (or a new one), document the process of creating the above two sketches. What pitfalls did you run into? What could you not figure out how to do? Here are some examples.
  • Note that the total writing requirement for the term is 7,000 words so you'll want to keep each post around 700 words to keep up.
  1. Upload your sketch to your server by following these instructions.
  2. Contribute any questions below.
  3. Add a link to your sketch running online and your blog post(s) below.

Questions

  • [Duru] - I wanted to add sound, downloaded the Sound.js file but for some reason the page kept on saying "Uploading." (I cut the .mp3 file so I don't really think it's the size. I removed it in the end. Can I fix this?)

Add Link Your Homework

Clone this wiki locally