Skip to content

Latest commit

 

History

History
125 lines (101 loc) · 6.52 KB

File metadata and controls

125 lines (101 loc) · 6.52 KB

Class 12

🛠️ Hardware

See also: Creative Coding Notes list

Some hardware needs special device drivers

  • There's not a simple messaging scheme (like Serial communication) that you can replicate without major reverse-engineering. for example:
    • Kinect / Realsense
    • Leap Motion

Some hardware uses electrical signals and basic data transmission

  • Arduino / Raspberry Pi sensors & output devices

🛠️ Integration & Networking

You can use these protocols to create larger integrated systems!

🛠️ Open Source

Open source software (OSS) = Freely-available source code!

Open source libraries & frameworks that you'll find

Package (library) managers

  • Why use a package (library) manager?
    • Quick & easy to add functionality to your project
    • Dependency management - any library you use may have its own dependencies, and the package manager will download (and solve version conflicts) for you
    • It's nice to have one source for the latest tools
  • Downsides of package managers
  • Different languages have different package managers
    • p5js: Doesn't have one! You include remote javascript files or upload them
    • Processing & Arduino: library manager inside IDE
    • Javascript: npm
    • Java: Maven or Gradle
    • Ruby: Bundler
    • Python: pip or conda
    • OS X: Homebrew
    • Windows: Chocolatey

📝 Homework:

Listen to an episode from either podcast:

Build something with hardware or explore an open source project

📋 Review code

  • Present your web browser/Node.js projects