Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Blending Art, Technology, and Light by Preston Holmes

PyCon 2014
April 11, 2014
380

Blending Art, Technology, and Light by Preston Holmes

PyCon 2014

April 11, 2014
Tweet

More Decks by PyCon 2014

Transcript

  1. Blending Art, Technology, and Light Python for interactive and real

    time LED installations Preston Holmes! @ptone
  2. LED

  3. Smart vs Dumb LEDs • A dumb LED is an

    RGB LED without any Integrated Circuit • 3 positive voltage inputs, and a common ground • responds just to voltage • An entire strip shares this electrical input • All LEDs on the strip are the same color
  4. 5 176 50 60 0 230 20 8 100 5V

    serial protocol Array of Bytes
  5. DMX

  6. Inputs Elements Outputs Keyboard, MIDI, OSC, Kinect, Event File Single,

    Groups, Chases, Effects DMX-USB, E1.31, servo control ...
  7. 1 2 3 4 5 6 7 8 9 10

    11 12 13 14 15 16 17 18 etc Speed of chase set by mapped events Events: Map Events Trigger Events Elements: Channels: Single Group Chase
  8. Inputs • MIDI (Musical Instrument Digital Interface) • 16 channels,

    7 bit (0-127 value) • large number of physical controllers • OSC (Open Sound Control) • More modern - UDP based • Path based with very flexible values
  9. 1 2 3 4 5 6 7 8 9 10

    11 12 13 14 15 16 17 18 19 20 1 Second
  10. Set target time based on current frame rate Render elements

    and effects into data Send Data to Output Time remaining till frame “due”: Wait Frame data “overdue” Reduce framerate
  11. 1 2 3 4 5 6 7 8 9 10

    11 12 13 14 15 16 1 Second