Hybrids again

Data structure 
-video
-sound
-image
-text
Technique
-dragging
-clicking
-typing
-image processing (pixel as raw data)
-sound processing (volume, )
-visualizing


Some ideas:
Ones that focus on new techniques:
- image as clickable (Image map)
- data visualization 


- What does it mean for sound to be draggable/clickable?
- Can a text be played?

- Can I present data in a new way? Video example - based on speed. Add subjectivity.  (See superbike, fast_real_train_corrido in class folder)
Can I think of new data structures?
- photo + location
- sound + image
- Sound + space (noise example)
Notes

Programming Language and Features

Programming language:
Fundamental programming constructs (grammar):

  • basic math operators (+,-,*,/%,), logical operators (&&, ||)
  • conditionals: if statements
  • for, while loops
  • functions
  • objects


Environment:
Features an environment (processing in this case) provides:

  • size(), ellipse(), bezier(), image()...etc


Language + environment:
- Javascript + web browser
- Swift/Objective-C + iOS
- C + UNIX


Libraries: extending features

  • New data structures
    • video
    • sound
    • 3D (obj)
    • vector (svg, dxf, PDF)

  • New protocols, systems
    • networking (TCP/IP, http...etc)
    • hardware (eg. Arduino)

  • New algorithms/infrastructure/services
    • games (levels, interface, first person views)
    • animation (interpreting frames, sprites/characters)
    • weather
    • computer vision (openCV: facial recognition...etc)

  • 3rd party developers

Notes

Libraries

  1. Download library (package).
    • Sketch -> Import Libary -> Add Library
      Search for "video"

  2. Import library into sketch.
    • Sketch -> Import Libary -> Video

    • This tells processing to look for the library and import it. Know the objects/functions that are provided are available to use.

  3. Use it.

    Evaluate feature, look at documentation and samples first. If sample files are not working, it may not work in your environment

    • Reference: Video library reference
    • Examples: File -> Examples



  4. If you are using a library, make sure you tell instructor or you should export it as an application. The computer we critique on may not have the library you installed.
Notes

Video

Capture: from live camera Movie: from file
Notes

Sound




There is (usually) nothing preventing you from using multiple libraries (eg. video & sound)
Notes

Other Processing Libraries

Notes