-
Notifications
You must be signed in to change notification settings - Fork 32
Homework Mimi Wednesday
-
Each week you must complete two items for your homework.
- Post documentation of your assignment. This can be a short blog post with screenshots / video documentation and/or a Processing.js implementation of your sketch.
- Place a copy of your sketch folder in our class' shared dropbox folder. Also provide link to your specific dropbox folder below.
-
A word about JavaScript mode and Processing.js | Instructions
- JavaScript mode in Processing is a nice magic trick that allows you to run a Processing sketch in a web browser. However, there are lots of reasons why it may not work from obvious ones like no third party libraries to less obvious ones like no functions with the same name as a variable. Use JavaScript mode cautiously and don't let it get in the way of the important stuff like just making what you want to make.
5-7 minute presentation. Please speak to the following:
- Title
- Collaborators: What did you do, what did they do?
- What is it? Why did you do it?
- LIVE DEMO: Tell us a story from beginning to end of how you expect people to approach and interact with your project.
- Challenges. What was hard about it? What was easy?
- Learnings from User-testing. What did you change/not change after last week's user-testing?
- Next steps? Will you continue to develop this idea? In what ways?
Link to your presentation and code. Your final project will not be considered complete without it!
- Aankit: [blog] (http://www.aantiks.com/2013/11/chess-revisualized-final/) | [dropbox] (https://www.dropbox.com/sh/zz324aiv7v7048j/9zFZ18Xoks)
- Allison: [View Blog] (http://www.allisonye.com/icm/?p=58) | Dropbox
- Rena: blog | [code] (https://www.dropbox.com/sh/450lbf8b2c7e58b/v1ns27X73h)
- Devin: ["Brooklyn Adventure" (Dropbox Folder)] (https://www.dropbox.com/sh/rrmay0d62ehylly/vSiMlLE6OH) [Slideshow PDF] (http://www.speakofthedevin.com/wp-content/uploads/2013/11/ICMfinalpresent.pdf)
- Hellyn: dropbox
- Jake: dropbox code/patch
- Jerllin: [blog and dropbox url at bottom] (http://www.jerllin.com/?p=28)
- Joelle: presentation in blog form | code in dropbox
- Neva: [blog] (http://nevaneva.net/category/itp/icm/)[dropbox] (https://www.dropbox.com/home/ICM-2013/FINAL/neva)
- Sisa: [Dropbox - two sketches make up the final] (https://www.dropbox.com/sh/8d2o14ehy1pyqg0/Oup1qVTZLI)
- Zander: [blog] (http://www.zanderwhitehurst.com/ITP/?p=476) \ [dropbox] (https://www.dropbox.com/home/ICM-2013/Week-11/Zander)
- Zoe: [blog] (http://zklogan.net/blog/icm-2/the-marilynizer/) | [dropbox] (https://www.dropbox.com/home/ICM-2013/FINAL/zoe)
- Please upload what you're going to test to dropbox
- Post your questions below
Questions | Examples
- Aankit:
- Allison: [Dropbox] (https://www.dropbox.com/sh/9tn06nntrnjjx2e/UQn_1i7EtQ)
- Rena: [blog post] (http://aspaceforsound.com/blog/icm-final-project-process/)
- Devin: ["Rock Paper Scissors" (Dropbox)] (https://www.dropbox.com/sh/3zhjtos2do810dx/Jm0N572-Jc) [, "Brooklyn Adventure" (Dropbox)] (https://www.dropbox.com/sh/w2oyc96pj387p8p/X1zMZudysP)
- Hellyn:
- Jake:
- Jerllin:
- Joelle:
- Neva: [dropbox] (https://www.dropbox.com/home/ICM-2013/Week-10/neva)
- Sisa:
- Zander:
- Zoe:
- REVIEW EXAMPLES
- Translate, Rotate, push/popMatrix()
- Circular motion with sin(), cos()
-
Examples
- In particular, look at radiate, radiation with rotate and sine wave
- Moving worm: using sin/cos with bezier
- Using sin/cos to affect speed
- Programming motion with vectors
- P3D: http://processing.org/learning/p3d/
- 3D Box Grid
- PeasyCam library
- Shaders: Look at File >> Examples >> Topics >> Shaders in Processing
- PeasyCam + Shaders
- HOMEWORK: Prepare Final Project Presentation
- 3-5 minute presentation of your idea
- 2-3 code examples you're planning to work from (if applicable)
- Some "How do I..." questions...add them to the list below ahead of time if you can!
- Post a link to your presentation below
Contribute a question!
Questions | Examples
- why do we need 'if' in [easing example] (https://github.com/itpresidents/processing_geometry_helpers/blob/master/easing/easing.pde) (neva)
- Aankit: [blog post] (http://www.aantiks.com/2013/11/chess-revisualized/)
- Allison: [View Blog] (http://www.allisonye.com/icm/?p=50)
- Rena:
- Devin:
- Hellyn:
- Jake:
- Jerllin:
- Joelle: blog post | dropbox
- Neva: [dropbox] (https://www.dropbox.com/home/ICM-2013/Week-9/neva)
- Sisa: [Preliminary Timeline in Dropbox] (https://www.dropbox.com/sh/w7qb3nx8uznhakp/30bfhbcoFg)
- Zander:
- Zoe: [blog] (http://zklogan.net/blog/icm-2/icm-final-first-draft/) | [dropbox sketches] (https://www.dropbox.com/home/ICM-2013/Week-9)
- READ
- You can read Chapters 17-18 from Learning Processing but chapter 18 is especially out of date.
- LOOK AT EXAMPLES
- Basics:
- Word Counting
- IntDict reference
- IN CLASS EX Scrolling word counting animation
- More data examples including HashMap
- Data formats
- Table reference | IN CLASS EX LoadSaveTable
- XML Reference | LoadSaveXML
- JSONObject reference | JSONArray reference | IN CLASS EX LoadSaveJSON
- Threads: Fetching data in a separate "thread" so your app doesn't "hang" while it's getting data
- Discussion of APIs and Databases
- Yahoo Weather library
- IN CLASS EX NYTimes API using JSON
- Google image search JSON
- Connecting to commlab web: Processing ClientPHP Source
-
Data / Text Projects and Resources
- Eyeo Festival Talks: [1](http://vimeo.com/48625144, http://vimeo.com/45838408) | [2] (http://vimeo.com/45537437) | 3
- What is Electronic Writing | Adam Parrish | William Burroughs Cut-ups | Brion Gysin's permutation poetry
- Data Visualizations: Jer Thorp | Zoe Fraade-Blanar | Flowing Data | Visual Complexity | 10 projects using real-time data | Visual thesaurus | Cabspotting | World mapper | Wind Map
- HOMEWORK: Data Project
- Develop a project that uses an external data source. For this project you should document your work in a blog post (and link below) in addition to creating the Processing sketch. Note that certain methods for grabbing data will not work in JavaScript mode. You can present in class using your laptop or put your sketch into dropbox. Here are some ideas:
- Create a game that saves a high score list to a text file.
- Track personal data over the course of a few days (exercise, sleep, computer use, eating, etc.). Enter the data into a CSV file and visualize.
- Count word frequencies in two different text sources (i.e. two different authors, two different newspapers, two different political speeches) and visualize the concordance.
- Visualize weather data (http://developer.yahoo.com/weather/)
- Connect a Processing sketch to a web app that you create (applicable if you are taking ICM web).
- If you do not present your pixels assignment, you will present you data assignment next week.
- Develop a project that uses an external data source. For this project you should document your work in a blog post (and link below) in addition to creating the Processing sketch. Note that certain methods for grabbing data will not work in JavaScript mode. You can present in class using your laptop or put your sketch into dropbox. Here are some ideas:
Contribute a question!
Questions | Examples
- What is a good resource to help structure data? I ended up having an array inside of an array for JSON data I was trying to store for chess and it ended up being a tedious to extract that data. I'm rewriting for multiple files, but I'd like to learn a bit about how to best handle complex data. (aankit)
- Aankit: Pixels [DropBox] (https://www.dropbox.com/sh/d12475sz7ua77ai/hYvAP_RL-P)
- Allison: Data [Dropbox1] (https://www.dropbox.com/sh/9dpbwukirt930xm/DLggpgxNa1) | [Dropbox2] (https://www.dropbox.com/sh/i37uiqmz9fwqjyc/InPrZPkP1Y)
- Rena: Pixels
- Devin: Data [Dropbox] (https://www.dropbox.com/sh/d37sie57c0hh7f6/Nxc1lt9SxE)
- Hellyn: Pixels
- Jake: Pixels Dropbox: code works, but isn't finished
- Jerllin: Data
- Joelle: Pixels
- Neva: Data dropbox
- Sisa: Data dropbox Sisa First Attempt: dropbox
- Zander: Data
- Zoe: Data [Blog Post] (http://zklogan.net/blog/icm-2/335-2/) | [Drop Box] (https://www.dropbox.com/home/ICM-2013/Week-8/Zoe)
- LOOK AT EXAMPLES
- Images
- Video
- Computer vision:
- Screen Pixels
- Simple color tracking
- Face detection with OpenCV for Processing
- Network Camera
- Kinect
- Assorted Camera Tracking Stuff
- Other libraries of note
- READ
- Learning Processing, Chapters 15-16
- HOMEWORK
- Develop a project that uses images and pixels. For this project you should document your work in a blog post in addition to creating the Processing sketch. Note that examples that use Capture of Movie will not work in JavaScript mode. You can present in class using your laptop or put your sketch into dropbox. Here are some ideas:
- Create a software mirror by designing an abstract drawing machine which you color according to pixels from live video.
- Create a video player. Consider combining your pcomp media controller assignment and build a Processing sketch that allows you to switch between videos, process pixels of a video, scrub a video, etc.
- Use the kinect to track a skeleton. Can you "puppeteer" an avatar/animation with the kinect?
- Note that only the names in bold (1/2 of the class) on the wiki will present next week. The second half will present the "data" assignment the following week. You should all complete both assignments, however, and of course you can present both weeks if you have a question or something you really want to get feedback on. Feel free to switch with each other or e-mail me if you would like to switch.
- Develop a project that uses images and pixels. For this project you should document your work in a blog post in addition to creating the Processing sketch. Note that examples that use Capture of Movie will not work in JavaScript mode. You can present in class using your laptop or put your sketch into dropbox. Here are some ideas:
Contribute a question!
Questions | Examples
- This is more for a previous week, but, in this [example] (http://www.learningprocessing.com/examples/chapter-23/example-23-4/), we do need to write a class for rectangle right? so those to can interact? There's no way we can use proccesing rect (); function? (neva)
- I'm trying to save an array of pixels based a user selection (grabbing mouse values to set start point and length and width of selection) I think I can do it for image - though I have a hard time understanding the stupid color function - how can I do it for video? I found the Frame Object Buffer but am not sure I understand the documentation...
- What is the best way/application to work with CSV files? (Devin)
- Aankit: Pixels [blog] (http://www.aantiks.com/2013/10/playing-with-pixels/) | [dropbox] (https://www.dropbox.com/sh/sn4kahukw4viwyi/TKHqK-JpQL)
- Allison: Pixels [Dropbox] (https://www.dropbox.com/sh/hxxeccg78ji98r2/qGPODLq9oO)
- Rena: Pixels | [Dropbox] (https://www.dropbox.com/sh/v9csiah2qjtdi5r/EZ7GF8X76C)
- Devin: Pixels
- Hellyn: Pixels [I have no idea but it's working - Dropbox] (https://www.dropbox.com/s/wtd3fzufwkfzu4m/HT_HW7_Pixels_102313.pde)
- Jake: Pixels [Code at Dropbox] (https://www.dropbox.com/home/ICM-2013/Week-7/Jake/mirror)
- Jerllin: Data [First key press then mouse click - Dropbox] (https://www.dropbox.com/sh/uc2tb4v4plv6ezj/S9D6-xcOmQ)
- Joelle: Pixels
- Neva: Data [ dropbox] (https://www.dropbox.com/home/ICM-2013/Week-7/Neva) and [preview] (http://nevaneva.net/?p=384&preview=true)
- Sisa: Data [mouse press on camera] (https://www.dropbox.com/sh/k4y17t35n8m0fnx/VU8Fmvktlr)
- Zander: Data [ SHOUT ] (http://www.zanderwhitehurst.com/ITP/?p=364)
- Zoe: Data [blog post] (http://zklogan.net/blog/icm-2/who-you-calling-scruffy/) | [dropbox] (https://www.dropbox.com/home/ICM-2013/Week-7/Zoe)
-
READ & WATCH
-
What is an ArrayList?
-
Chapters 6 and 9, from Learning Processing, Chapter 23 for ArrayLists.
-
Chapter 10 from Getting Started with Processing
-
-
DO
- Using arrays and/or ArrayLists, write a program that creates multiple instances of an object (feel free to use an object you developed previously or create something new). Here are some additional ideas if you are stuck.
- Experiment with the resizable nature of ArrayLists. Can you add objects one at a time? Remove them after a certain amount of time or when they leave the screen? Can objects from on ArrayList trigger the birth of other objects?
- Create an object that stores the history of its own path. This might be a drawing program where you keep a history of mouse locations in an ArrayList or a shape that moves around the screen autonomously and draws its own trail. Can you have an ArrayList of these objects (each of which tracks its own ArrayList?).
- A String is like an array of characters. Can you create a sketch that plays with text by looping through the "array" inside a String. See: charAt()
- A PImage contains an array of pixels. Experiment with image processing by looping through all the pixel colors of an image. This tutorial will help you get started.
- Create a system that involves a two dimensional grid. Use a 2D array to store the data of this system. This tutorial will help you get started.
- Using arrays and/or ArrayLists, write a program that creates multiple instances of an object (feel free to use an object you developed previously or create something new). Here are some additional ideas if you are stuck.
Contribute a question!
Questions | Examples
-
How do you randomize location in a particle system? (Joelle)
-
How do you enable all items within a particle system to be displayed at once rather than the waterfall examples from the Processing IDE and Nature of Code? (Joelle)
-
How can I change the hue of objects "mid-flight" without resetting their locations? (Devin)
- Aankit:
- Allison:
- Rena:
- Devin: [Squares Are Forever] (https://www.dropbox.com/sh/vtypy8si6jr6u1q/pRidwFoGba)
- Hellyn: [Ohne] (http://hellyn.com/ICM/week6/web-export/index.html)
- Jake: [Space Invaders: nearly working] (http://jakeontheinternet.com/ICM/Week6/SpaceInvader_ArrayLists/) || [Code] (https://www.dropbox.com/home/ICM-2013/Week-6/Jake/space_invader_wArrayList)
- Jerllin: [Click to destroy] (https://www.dropbox.com/sh/4xdyc68xup0oeun/3UVs856POQ)
- Joelle:
- Neva: Im still on it
- Sisa:
- Zander: [Croud] (http://www.zanderwhitehurst.com/ITP/?p=344)
- Zoe: [dropbox] (https://www.dropbox.com/home/ICM-2013/Week-6/Zoe/fish_fail_array)
- READ
- Chapters 7-8 from Learning Processing.
- Chapters 8-9 from Getting Started with Processing
- WATCH (preview next week's content)
- DO
- Design a sketch in an object-oriented fashion. Try to eliminate all code from the main tab (setup() and draw()) except for the core requirements (size(), background(), etc.) and calls to objects.
- Take something you've already done and turn something in your sketch into a class (e.g. a ball, a line, a bird, a car, a plane!)
- Or, start fresh!
- E-mail the code for a class to your partner. You'll get one from them too. Try incorporating the class sent to you into your sketch. Take care with naming your variables and comment your code so your partner can understand what's going on. And, communicate with each other when you get stuck!
- Design a sketch in an object-oriented fashion. Try to eliminate all code from the main tab (setup() and draw()) except for the core requirements (size(), background(), etc.) and calls to objects.
Contribute a question!
Questions | Examples
-
I couldn't quite figure out why the color of the line drawing and the circle that go up the sketch are the same colors even though they are different classes. It seems I may have put one the objects in the wrong order, but can't quite seem to correct it. The lines are supposed to be white and the circles this pinkish gray color. (Hellyn)
-
I can't get my shark's laser beam to start at the X-coordinate that I want it to. Please help me. (Devin)
-
With OOP, how do you make an object display in front of/behind another object? (Devin)
- Aankit:
- Allison:
- Rena:
- Devin: [Jerllin's Original Sketch] (https://www.dropbox.com/sh/qbkraemt8ujlkn6/_nGc7wJk9K) -- [My Sketch Using Jerllin's Class] (https://www.dropbox.com/sh/ac2qnj0r7coib2x/pP3qjaPypW) -- [BONUS: Shark Attack! - move and click the mouse] (https://www.dropbox.com/sh/fbhhixad8rendvy/kllNeRuire)
- Hellyn: [Random Sketch using Zander's Class. Move mouse to draw the lines] (http://www.hellyn.com/ICM/week5/web-export/index.html)
- Jake:
- Jerllin: [Didn't do Devin's sketch justice. I...I'm very unimaginative sometimes] (https://www.dropbox.com/home/ICM-2013/Week-5/shark_v3)
- Joelle:
- Nevena: [dropbox] (https://www.dropbox.com/home/ICM-2013/Week-5/Neva)
- Sisa: https://www.dropbox.com/sh/9rwkjcnzl1vuc6t/Wgq7as90kp
- Zander: FIZZY DRINKS
- Zoe: [dropbox sketch] (https://www.dropbox.com/home/ICM-2013/Week-5/Zoe/record_ZKL_CLASS)
- EXAMPLE CODE
- DO
- Re-organize the code of a previous assignment or example using functions. 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.)
- READ AND WATCH
- Videos 8.0-8.3
- Chapters 7-8 from Learning Processing.
- Chapters 8-9 from Getting Started with Processing
Contribute a question!
Questions | Examples
-
Aankit says: "For those of you wanting to post your sketches on your blog, if you haven't found it already. Rejoice!. Sorry not a question, but maybe people will see & read this?
-
I was trying to create a function that would accept arguments and move a shape with a float return, but when trying to multiply the speedfactor by -1 to reverse direction the function would still only return a positive value. (Jake)
-
I struggled with figuring out how to change colors for the buttons in my sketch. I couldn't quite figure out how to make the play button change one color, and the pause button change another color when pressed. Currently they both change colors at the same time. (Hellyn)
-
Well, I figured out how to call a variable from a class. I still didn't figure out what is wrong with 'music' button variable; It works in one sketch, but in the next, when I've changed the code with if statement for X variable, I lost the 'music' . tomorrow
-
and why adding decimal value doesn't work here: [View Sketch:] (https://www.dropbox.com/home/ICM-2013/Week-4/Neva/rect_around) (neva)
- Aankit:
- Allison: View Sketch: mag field (sort of) | Download Code: Dropbox
- Rena:
- Devin: Took last week's homework and converted the code into functions. Attempted to add additional functionality by connecting the shapes when the mouseClick changes the XY coordinates, but was not completely successful... I'd love to learn more about how to use time-based stuff. [Dropbox] (https://www.dropbox.com/s/s005ehj6ifh00oc/Topographic_Art_v17.pde)
- Hellyn: Fixed most of last week's homework & added functions. Sketch: Noise Deck | [Dropbox Folder] (https://www.dropbox.com/s/1q9mlnzr19go742/HT_HW4_Noise_Deck_Functions_100213.pde)
- Jake: Sketch: Bouncing bird | [Dropbox] (https://www.dropbox.com/home/ICM-2013/Week-4/Jake/bird_as_a_function)
- Jerllin: I don't know what this is. I basically made my bouncing ellipse a function, added a for loop and voila: [Dropbox] (https://www.dropbox.com/sh/vlztgo6erkx87nw/TbXmgx_gW5)
- Joelle:
- Nevena: [Dropbox] (https://www.dropbox.com/home/ICM-2013/Week-4/Neva)
- Sisa:
- Zander: http://www.zanderwhitehurst.com/ITP/?p=288 MARBLES
- Zoe:Managed to fix last weeks and somehow it evolved into this crazy hair-drawing game. [Dropbox Folder] (https://www.dropbox.com/home/ICM-2013/Week-4/Zoe)
- DO
- Homework: In general this week, you should work with rule-based animation, motion, and interaction. You can use the ideas below or invent your own assignment.
- As an exercise, try making a rollover, button, or slider from scratch. Compare your code to the examples on github. Moving beyond the exercise, can you invent new GUI elements beyond buttons, sliders, rollovers, etc.?
- Create an algorithmic design with simple parameters. A good model is 10PRINT based on the examples provided here. There is also a nice discussion on the Processing forum. You can also read the 10 Print book online as a PDF.
- Consider tying the above two together and have a GUI control your 10PRINT visualization or motion sketch.
- Invent your own exercise related to animation and interaction.
- READ AND WATCH:
- WATCH VIDEOS: 7.0-7.3
- Chapters 5-6 from Learning Processing.
- Chapters 4-5 from [Getting Started with Processing]
Contribute a question!
Questions | Examples
- So I understand how to do the "bouncing ball" sketch now. I was wondering what function I should use to add "gravity" or curves to the path of the bouncing ball, so it's not just going in a straight line. (Devin)
- Aankit: [Get File from Dropbox] (https://www.dropbox.com/s/1xnp7r3btnvtf6g/chess_one.pde)
- Allison: View Sketch: wax seal | Download Code: Dropbox
- Rena: Sketch:
- Devin:
- Hellyn: [Sketch: Noise Deck] (http://hellyn.com/ICM/week3/web-export/index.html) | [Download] (https://www.dropbox.com/s/7zhqs9vlte82qk3/HW3_Noise_Deck_092513.pde)
- Jake: [Sketch] (http://jakeontheinternet.com/ICM/Week3/Ellipse/) | [Download] (https://www.dropbox.com/home/ICM-2013/Week-3/Jake/Stupid_Ball)
- Jerllin: [Sketch: ITP Space Quilt Alternate Version] (http://www.jerllin.com/?p=25) | [Download] (https://www.dropbox.com/s/mc3d44iyyq1mgnn/spacequilt_altversion.pde)
- Joelle: Download Sketch
- Nevena: [Download Sketch] (https://www.dropbox.com/home/ICM-2013/Week-3/Nevena)
- Sisa:
- Zander: [Finger boarding] (http://www.zanderwhitehurst.com/ITP/?p=223)
- Zoe: [Dropbox folder] (https://www.dropbox.com/home/ICM-2013/Week-3/Zoe)
-
DO
- 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.
- Come up with a simple formula to change colors gradually over time.
- 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.
- 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.
-
READ AND WATCH:
- WATCH VIDEOS: 5.0 to 6.6
- Chapters 3-4 from Learning Processing.
- Chapters 4-5 from [Getting Started with Processing]
Contribute a question!
Questions | Examples
- Good afternoon! I had good fun working with the if/else function and in reading I noticed the "for" slip in. I think I have got to grips with it but would be good to have clarity. (Zander)
- Apologies for asking but how on earth do I whack my code onto my blog so it appears instead of uploading a record of it? (Zander)
- How can we add text i.e to generate score/time? (Zander)
- Is P3D a library that I need to download and install? I thought that there was an option to change modes like the JavaScript/Java/CoffeeScript button, but I guess not?
- I got an error that says "It looks like you're mixing "active" and "static" modes." How do I correct this? (Devin)
- I'm having trouble making cumulatively changing variables. For instance I'd love to sequence events but use the same float acting on the behavior of the previous iteration. A rectangle crossing a boundary and thus triggering other behaviors sequentially. I'm using "if" right now but it seems heavy. (Zoe)
- If two circles are moving across a frame and the ellipse mode of one is corner but the other is center shouldn't they behave differently when interacting with the extents? Also sizes, a circle of radius 50 will reach the width of a frame faster than one of 10 but they both bounce back at the same time. Is it whichever hits first resetting the loop? (Zoe) *My background color is completely different viewed in a web browser in JS then when I created the sketch. Any ideas?
- I was really hoping to establish a range of coordinates so that whenever a mouse hovered over a specific ellipse that I was using as petals that it would change color. I was working on it until the very last minute, but I was not successful. Any thoughts? (Sisa)
- Aankit: [View Sketch: Birth of the Universe?] (http://aantiks.com/sketches/universe/index.html), [View Sketch: Magic Wand] (http://aantiks.com/sketches/magicwand/index.html) | [Universe Code] (https://www.dropbox.com/s/nhvqfoxfvws7khc/galaxies.pde), [Magic Wand Code] (https://www.dropbox.com/s/ap0iwq527x116eu/magicwand.pde)
- Allison:View Sketch: shooting stars | Download Code: Dropbox
- Rena: Sketch: https://www.dropbox.com/sh/3svqv4zpml94gs9/ByuwCIM9Ez
- Devin: [View Sketch: Rain v3] (http://www.speakofthedevin.com/icmweek02/) | [Download Code: Dropbox] (https://www.dropbox.com/s/22v2o86lfou75p2/Rain_v3.pde)
- Hellyn: [View Sketch: Random] (http://hellyn.com/ICM/week1/web-export/index.html)
- Jake: View Sketch: Day and Night | Download Sketch
- Jerllin: View Sketch: Processing Pains
- Joelle: Download Sketch
- Nevena: View Sketch | Download Sketch
- Sisa: https://www.dropbox.com/s/jnv7mhlcsmufhdi/Holguin_Sketch_2.pde
- Zander: http://www.zanderwhitehurst.com/ITP/?p=129
- Zoe: Download Sketch
-
SET UP:
- Downloading Processing 2.0
- Sign up for the ITP ICM Google Group (also sign up for your section's group)
- Sign up for a Github Account. You are not required to use github, but you will need an account to edit the wiki here.
- Accept invite to share Dropbox folder.
-
DO:
- Create your own screen drawing: 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(). Remember to use size() to specify the dimensions of your window.
-
READ AND WATCH:
-
WATCH VIDEOS: 0.5 and 3.0 through 4.3
-
Chapters 1-2 from Learning Processing.
-
Chapters 1-3 from Getting Started with Processing
-
Casey Reas Eyeo 2012 talk on Chance Operations.
-
Contribute at least 1 question below. (Name optional.)
Questions | Examples
- This is actually a very general question and something I've always wondered about when it comes to coding/programming. Any advice/tips/tricks for remembering documentation/references? (My coders always tell me that they just know that so-and-so piece of documentation exists.) Are some people just kind of rockstars at intuitively knowing about different parameters, or is it really just learning from experience? (Jerllin)
- Have you guys heard of Resonate? It is a great festival of new media but also is a platform for networking, knowledge sharing and education? Go check the talks, you'll see Casey Reas speaking, Jer Thorp, Kyle McDonald, Karsten Schmidt.. [Resonate / talks] (http://resonate.io/main/category/talk/) (Nevena)
- Will we get into writing functions next class? Does anyone else find the list of instructions style difficult to follow? Are there web tools for understanding Processing's coordinate system? (Joelle)
- I was wondering how to properly rotate ellipses. I tried to do so in my homework but without success. (Devin)
- I second Devin's question. I found [this] (http://criticalzero.co.uk/code-examples-for-rotation-in-processing-js) but I think he's only rotating rectangles, still with ellipseMode(Center) shouldn't the rotate() work? Also, I'm still working on it, but I don't think I'll be able to figure out how to post my javascript sketch on my blog. I can get it working locally, but am failing to get it on the blog. Also I noticed there was a difference in rendering between my Java and JS versions (specifically using fill() on an arc() that has a OPEN term. (Aankit)
- I found it difficult to accurately place arcs on my sketch. This was in part due to the difficulty in mapping out lines without a graph/grid coordinate system and in part because of a long lost knowledge of trigonometry. Is there a resource I can use to refresh this stuff in the context of processing? Also, the image of my sketch is only a screen shot- I could not screen shot the image as precisely as I would have liked.(Sabrina)
- Yes Sabrina I too am interested to know if there is a way to pinpoint navigational coordinates or otherwise find out the extents and locations of shapes in relation to each other. For instance if I have an arc and want to place a line or any other object touching it is there a way to find the coordinates of the arc besides extrapolating them manually? Snap points would be awesome but I figure it's not possible. (Zoe) *Applet publishing, how is this different than the sketch?
- I understand how to create interactivity going forward with functions like "mousePressed" and keyPressed" however, I was unable to go backwards. Is this something deeper in events, or an inner loop that can be made after a certain number of key presses and/mouse mouse clicks? (Rena)
- Also had a bit of an issue understanding arcs. I was trying to figure out how to create an arc/curve for lower part of the circle but was unable to find a solution. I did a search and found a sample code for creating an upper half of a circle: arc(105, 35, 50, 50, -PI, 0); // upper half of circle. But couldn't seem to work out how to inverse that shape. (Hellyn)
- Why is the term "void" used? (Devin)
- What is coffeescript mode? (Jake)
- If the Draw function does not know the variable that is declared in Setup function, how can it know the Weight and Height that are also declared in Setup function? (Neva)
- Mimi: View Sketch: Blue Circle | Download Code: Dropbox
- Aankit: [View Blog] (http://www.aantiks.com/category/icm) | [Get code] (https://www.dropbox.com/s/d6f90rzstoe1hxv/ganpati_final.pde)
- Allison:View Sketch: catman | Download Code: Dropbox
- Chinazo: [View Blog] (http://aspaceforsound.com/itpblog) | [Download Code: Dropbox] (https://www.dropbox.com/sh/9pvo2uuztql1bej/PEH6SSVWzz)
- Devin: View Sketch: Jungle Cat | [Download Code: Dropbox] (https://www.dropbox.com/s/wf4fgg9rf6dkenb/Homework_Week_1_v1.pde)
- Hellyn: [View Sketch: Machine] (http://www.hellyn.com/?page_id=23) | [Download Code: Dropbox] (https://www.dropbox.com/s/oru8oxm9914zhiv/Hellyn_Sketch_091013.pde)
- Hongeun:
- Jake: [View Sketch: Bird] (http://jakeontheinternet.com/ICM/Week1/Bird) | [Download Code: Dropbox] (https://www.dropbox.com/s/m5qnloi330qhsbh/Bird.pde)
- Jerllin: [View Sketch: My Medium of Expression] (http://www.jerllin.com/?p=15) | [Download Code: Dropbox] (https://www.dropbox.com/s/hwmsnd2n0t13mbk/guitar_body.pde)
- Joelle: View Blog | Download Code: Dropbox
- Nevena: [View Blog] (http://nevaneva.net/category/itp/icm/) | Download Code: Dropbox
- Sabrina: [View Sketch: Hypnotic Pikachu] (http://www.itpadventures.com/icm) | Download Code: Dropbox
- Sisa:
- Zander: [VIEW SKETCH: SELF PORTRAIT] (http://www.zanderwhitehurst.com/ITP/?cat=11)
- Zoe: [View Sketch] (http://zklogan.net/blog/icm-2/first-processing/) | [Download Code: Dropbox] (https://www.dropbox.com/s/wjoleio7mzokrjq/sketch_0911_first_circle.pde)