Etudes in Code, with Processing

1,471 views

Published on

Slides from a presentation to SCOPE Session, presented by Visual Berlin - http://scopesessions.org

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,471
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Etudes in Code, with Processing

  1. 1. Etudes in code (even if you’re not a coder, yet) flavors.me/peterkiRn The tool: processing.org (Ben Fry, Casey Reas, et al)Friday, July 22, 2011
  2. 2. The blank pageFriday, July 22, 2011
  3. 3. Processing is a free place to express ideas about design with media in textual code.Friday, July 22, 2011
  4. 4. Data: Load an image PImage img; loadImage(“image.jpg”); or loadImage([uri]); image(img,0,0);Friday, July 22, 2011
  5. 5. Interaction The appearance of movement Response to an input mouseX, mouseY “Draw loop” setup(), draw()Friday, July 22, 2011
  6. 6. Adding a behavior Variables random(minimum, maximum); Precision: floats, integersFriday, July 22, 2011
  7. 7. Adding a behavior Sampling color c = img.get(x,y); or img.loadPixels(); img.pixels[x,y];Friday, July 22, 2011
  8. 8. Transparency is magic gray, alpha r,g,b,alpha etc.Friday, July 22, 2011
  9. 9. Loops and iteration for(int i=0;i<num;i++) { //do something ... more than once }Friday, July 22, 2011
  10. 10. 3D Different renderers; OPENGL Mobile, too Deconstructing an image TexturesFriday, July 22, 2011
  11. 11. I love waves and circlesFriday, July 22, 2011
  12. 12. Structure is design, formFriday, July 22, 2011
  13. 13. Structure is design, formFriday, July 22, 2011
  14. 14. Adding structure Method output doSomething(input variables) { } cupcake bake(cup of sugar, etc., etc.) { }Friday, July 22, 2011
  15. 15. Adding structure Class class Thing { Thing(inputs) { //make the thing } doSomething(input) { } }Friday, July 22, 2011
  16. 16. Lists A group of some kind of things The ability to point at something in the list ArrayList<Integer> .add() .get()Friday, July 22, 2011
  17. 17. Let’s talk Q+A http://flavors.me/peterkirn http://createdigitalmotion.com Follow up series to comeFriday, July 22, 2011
  18. 18. Remember, no fear.Friday, July 22, 2011
  19. 19. Photo credits Sine waves - CC-BY Jason Hargrove Flickr: salty_soul Machine scan - CC-BY zigazou Flickr: zigazou76 Striped boots - CC-BY Cameron Russell Flickr: camkage (Lomo-Cam) US flag stripes - CC-BY Sam Howzit Flickr: aloha75Friday, July 22, 2011

×