• Save
ARTDM 170, Week 15: Advanced
Upcoming SlideShare
Loading in...5
×
 

ARTDM 170, Week 15: Advanced

on

  • 789 views

 

Statistics

Views

Total Views
789
Views on SlideShare
782
Embed Views
7

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 7

http://www.gilbertguerrero.com 7

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

ARTDM 170, Week 15: Advanced ARTDM 170, Week 15: Advanced Presentation Transcript

  • ARTDM 170, Week 15: Advanced Processing
    • Gilbert Guerrero [email_address]
    • gilbertguerrero.com/blog/artdm-170/
  • Full screen mode
    • //enter fullscreen mode static public void main(String args[]) { PApplet.main(new String[] { "--present", "Video_Tesla" } ); }
    • void setup() { size( screen.width , screen.height ); background(0); }
    • void draw() {
    • }
  • Video input
    • import processing.video.*;
    • int numPixels; int[] previousFrame; Capture video;
    • void setup() { video = new Capture(this, width, height, 24); numPixels = video.width * video.height ; // Create an array to store the previously captured frame previousFrame = new int[numPixels]; loadPixels();
    • }
    • void draw() { if ( video.available() ) { video.read(); // Read the new frame from the camera video.loadPixels(); // Make its pixels[] array available
    • } //plus a lot more stuff to figure out what to do with all those pixels every frame }
  • Open Processing http://processing.org
  • Arduino http://www.arduino.cc
  • Arduino projects
    • Making Things Talk By Tom Igoe
  • Arduino projects
    • Sparkfun Electronics
    • Arduino Starter Kit
    • $59.95
  • Final Projects December 2 9 16 25 11 November Last day of class Present final projects (two days) Script user interaction and movement of game elements Add scoring and game over trigger 18 Design background and game elements. Embed in game symbol
  • Work on your final projects
  • Homework, due Dec 2
    • Work on your final projects
      • Script user interaction and movement of game elements
  • Thank You