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

Advanced Bonsai Workshop #2: Toolboxes and visual editor

glopesdev
January 19, 2016

Advanced Bonsai Workshop #2: Toolboxes and visual editor

The second part of a workshop series on the Bonsai programming language. This session covers the visual programming language concepts, editor and various abstractions included in the built-in packages.

A video presentation of these slides is available at:
https://www.youtube.com/watch?v=orQRlms2yhA

glopesdev

January 19, 2016
Tweet

More Decks by glopesdev

Other Decks in Programming

Transcript

  1. Workshop Programme 1. From databases to data streams 2. Bonsai

    toolboxes and visual editor 3. Observable combinators: An algebra for data streams 4. Representing discrete states with data streams
  2. Bonsai = Rx + VPL + Packages var stream =

    Camera().Select(Grayscale) .Sample(KeyDown()) .Do(SaveImage);
  3. The (growing) list of Bonsai packages • Dsp • Vision

    • Audio • Arduino • OSC (Open Sound Control) • Windows.Input • Scripting • Shaders • …
  4. Types for image processing: IplImage 89 147 156 157 155

    47 123 165 155 148 45 89 146 150 156 43 72 123 163 181 42 73 142 185 201 82 119 174 196 192 138 168 194 177 152 183 190 178 152 134
  5. Types for multi-channel data: Mat 89 147 156 157 155

    47 123 165 155 148 45 89 146 150 156 43 72 123 163 181 42 73 142 185 201 82 119 174 196 192 138 168 194 177 152 183 190 178 152 134
  6. Running Bonsai in batch processing mode 1. Externalized properties become

    command-line arguments 2. Batch mode terminates when ALL streams complete