Pro Yearly is on sale from $80 to $50! »

Advanced Bonsai Workshop #2: Toolboxes and visual editor

Cff520b66669064bbfefdc9109731160?s=47 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

Cff520b66669064bbfefdc9109731160?s=128

glopesdev

January 19, 2016
Tweet

Transcript

  1. Advanced Bonsai Workshop https://bitbucket.org/horizongir/bonsai January 18-21, 2016 Bonsai = Rx

    + VPL + Packages
  2. Be Reactive Ask Questions

  3. 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
  4. Bonsai toolboxes and visual editor January 19, 2016 Advanced Bonsai

    Workshop
  5. Bonsai = Rx + VPL + Packages var stream =

    Camera().Select(Grayscale) .Sample(KeyDown()) .Do(SaveImage);
  6. Bonsai is a visual programming language for manipulating reactive streams

  7. Bonsai can be extended by installing new NuGet packages

  8. The (growing) list of Bonsai packages • Dsp • Vision

    • Audio • Arduino • OSC (Open Sound Control) • Windows.Input • Scripting • Shaders • …
  9. Replay: hot → cold

  10. Publish: cold → hot

  11. Bonsai branches publish by default

  12. 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
  13. 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
  14. Creating property editors for online calibration

  15. Visualizers can be stacked for context

  16. Visualizers can be stacked for context

  17. Visualizers can be stacked for context

  18. Bonsai VPL = Expression Tree This means that things like

    this can make sense
  19. Interfacing with the external world: Arduino

  20. Externalized properties can be dynamically mutated online

  21. Running Bonsai in batch processing mode 1. Externalized properties become

    command-line arguments 2. Batch mode terminates when ALL streams complete
  22. Image synthesis: the GPU graphics pipeline Romain Vergne http://romain.vergne.free.fr/blog/