ICM-Wang-F10
Syllabus / ICM-Wang-F10

## Introduction to Computational Media Syllabus

### Week 2 -- Interaction and Variation

• The flow: code blocks, setup, draw, and events
• Variables: Declare, Initialize, Use
• Random
• Other Resources:
• Homework:
• Read Chapters 3-4 from Learning Processing.
• Also, chapters 4-5 from Getting Started with Processing
• Create a dynamic application. You can continue to elaborate on last week's assignment or you can design something new. For example, move your shapes around the screen according to mouse / keyboard interaction. Use variables to change colors, grow and shrink your design, etc. Start by working in pairs (according to the wiki: Mon Class) You can post as a group or break off and complete the assignment individually.

### Week 3 -- Conditionals, Loops

• Boolean Variables
• Loops
• Homework
• Read Chapters 5-6 from Learning Processing.
• Try Exercise 5-6 and Exercise 5-8. We will go over answers in class.
• Homework: Continue to elaborate on last week's assignment incorporating conditionals. Use the new pairs (according to the wiki: Mon Class) You can post as a group or break off and complete the assignment individually.

### Week 4 -- Modularity: Functions and Objects

• Functions: Modularity!
• Re-usability and Parameter Passing
• Object-Orientation!
• Homework
• Chapters 7 and 8 from Learning Processing.
• Also, chapters 8-9 from Getting Started with Processing
• Try exercise 7-8 and Exercise 8-5. We will go over answers in class.
• Re-organize the code of a previous assignment or example using functions and objects. If you are inspired by the power of modularity, feel free to elaborate on the assignment. Work individually or in pairs (no pairs will be assigned this week.) Post results to the wiki: Mon Class

### Week 5 -- Arrays (and Iteration review)

• Reviewing looping
• Arrays
• Dano's handout
• Chapters 6 and 9, from Learning Processing.
• Homework: Using arrays and loops, write a program that creates multiple instances of an object (feel free to use an object you developed previously or create something new).
• Try Exercise 9-6 and Exercise 9-7. We will go over answers in class.

### Week 6 -- Images and Pixels

• Images
• Video as Image
• Video as Sensor
• Danny's Examples:
• Learning Processing, Chapters 15-16
• Homework: Incorporate the pixels of an image (or video) into a Processing sketch.
• Midterm: Brainstorm an idea for a midterm project. Feel free to think of your midterm on as grand a scale as you like, however, the midterm assignment will involve implementing only one step of a larger project. Remember, it's only a one week assignment! Be prepared to speak briefly about your midterm idea next week.

### Week 9 -- Loading external data into Processing, introduction to PHP

• Updated tutorial: http://www.learningprocessing.com/tutorials/external-data-into-processing-1/
• Text Parsing: length(), equals(), indexOf(), substring(), split(), join()
• Input from keyboard: user input
• loadString(): data from text files!
• Chapter 17-18, Learning Processing
• What is Electronic Writing
• Homework: Create a sketch that loads data into Processing or saves data out of Processing using loadStrings() and saveStrings()/PrintWriter. Post a link to your assignment on the wiki. Here are some suggestions:
• Take a previous sketch you made and use saveStrings() or PrintWriter to save data that the sketch can remember next time it runs.
• Load a large body of text (novel, speech, blog posts, e-mails, etc.) and visualize the frequency of words in the text.
• Although we haven't covered PHP yet, try using one of these php scripts in combination with loadStrings():
• Also, here's a great tutorial about NYTimes API and Processing http://blog.blprnt.com/blog/blprnt/processing-json-the-new-york-times Make an example based off this tutorial.
• Remember, some sketches won't run online as applets! http://www.learningprocessing.com/tutorials/sandbox/ Simply post documentation and your code if you run into problems.

### Requirements

• You are required to attend all class meetings and submit all weekly assignments, a midterm, and a final project.
• Grading (pass/fail) will be based on a combination of factors:
• Attendance and participation in class discussion and engagement in other students' projects.
• Quality of weekly assignments, midterm, and final project.
• Personal progress; how much did you advance from your initial state in this class.