Graphics

Graphics - Monday December 13th 2010 Object-Oriented...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Office of Instructional and Research Monday, December 13 th 2010 Object-Oriented Programming poking at processing ITI 202
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Office of Instructional and Research Announcements none! ratemyprof.com
Background image of page 2
Office of Instructional and Research Who am i? current last – NOAA Rutgers GFDL business RU grad this course
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Office of Instructional and Research Our fork in the road The road not taken: why? background needed: parallel programming (like a round), sockets & network connections, call backs, java api hierarchies – and the ability to debug all that The road taken: processing Our goal: the 2¢ tour of processing & 1/2¢ glimpse of swing
Background image of page 4
Office of Instructional and Research A whirlwind tour of Java’s swing framework • history: in the beginning was awt then swing already written for us! Quick and Dirty: we need a few components and to add some ‘listeners’ Concepts call backs/ event handling parallel programming lets look at code
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Office of Instructional and Research What is processing? Subset/Superset of java a way of making 2D and 3D graphics quickly http://www.rmx.cz/monsters/ http://www.niklasroy.com/project/88/my-little-piece-of-priva
Background image of page 6
Office of Instructional and Research A brief detour: Arduino Easy way to use programming for electronics • robotics Quick and Dirty: we need a few electronic components and to add some code Concepts • embedded programming lets look at code
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Office of Instructional and Research Notable characters Ben Fry John Maeda http://en.wikipedia.org/wiki/Design_By_Numbers_(programming_language ) http://en.wikipedia.org/wiki/Processing_(programming_language ) C.E.B. Reas
Background image of page 8
Office of Instructional and Research Download Processing http://processing.org/download/ then start
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Office of Instructional and Research Using Processing Welcome to the Processing Integrated Development Environment Buttons: Play, Stop, New, Open, Save, Export
Background image of page 10
Office of Instructional and Research Hello world size(200,200); background(0, 0, 0); noStroke(); fill(10, 110, 255); ellipse(100,100,100,100); print(” Hello world! ");
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Office of Instructional and Research Hello world explained briefly size(200,200); // size of the frame (width, height) background(0, 0, 0); // color of the background in Red Green Blue (RGB) noStroke(); // no ‘outline’ on the circle fill(10, 110, 255); // a color for the inside of the circle, also (RGB) ellipse(100,100,100,100); // make the circle ( location x, location y, width, height) print (“Hello world!”); // er, print – easlier than System.out.println
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 36

Graphics - Monday December 13th 2010 Object-Oriented...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online