===== Intro to IM ===== **Place:** Inside the teaching lab that is hidden somewhere deep in the Arts Center\\ **Time:** Wednesday, October 26, 2016, 2:40pm – 5:20pm ---- === Forword === * Checking attendance * Felix's Photobook * [[http://tinyurl.com/z6xmzcf|Languages]]! * Review Homeworks: * Everyone show their stuff. * Any difficulties, insights? * Discuss printing the work! * Discuss Open Studios (November 8th – Intro will have a table to show work. Any projects still functional?) === Functions & Objects === == Functions == * Main concept: programmers are lazy. * Unofficially: functions are a way to help programmers in their laziness. A **reusable chunk of code**. Less typing = good! * Officially: "a named section of a program that performs a specific task. In this sense, a function is a type of procedure or routine." * Functions are **declared** somewhere, and then **called** somewhere else. * **Scopes** (in processing, {}) * return value (void, int, bool); * In Class assignment: Make a "Felix Broken Screen" using functions {{:felix_broken_screen_v01.jpg?direct&200|}} {{:felix_broken_screen_v02.jpg?direct&200|}}\\ //The above pictures show Felix laptop after it fell down...// ([[felix_laptop_crash_sketches|Some examples of student projects.]]) == Objects == * Metaphysical idea of something (the **Class**), from which we can create actual things (the **Object**). EG: * What makes a person? * Data: Height * Function: Movement? How do we see them? * In class assignment: Create a person Class, and several people objects. * We can clean up the code by using different tabs === Assignment === - Make a screenshot of your artwork (the assignment that you showed in todays class) __and__ the accompanying inspiration, and upload it via NYU Classes. - If possible fill in your name [[http://www.felix-beck.de/nyuad/teaching/doku.php?id=intro_to_im_11-08-16|here]] - Make a visual art piece OR game to display at the Open Studio. * It must be 1200x1200px * Accommodate 2 "interactors", who will use WASD and the Arrow keys respectively. * Since it's projected from above, it must be viewable from all sides * If you need inspiration look at the works of Casey Reas, Ben Fry, Dan Shiffman