This repository contains few experiments made for the retail surface prototype. This sketch is a visual controller to play an animation in a selected sequence, and the sequence can also be reconfigured with the interface provided in this software, which can further be extended to an extenal hardware. Version 0.0.5
Just install the following libraries and run this sketch in Processing 3.x
Install libraries using Sketch > Import Library... > Add Library... option in Processing IDE.
More: https://github.com/processing/processing/wiki/How-to-Install-a-Contributed-Library#install-with-the-add-library-tool

- controlP5 v2.2.6
- video v1.0.1
- SyphonProcessing v2.0
- Spout v2.0.6
- Switch between modes: Stencil, Mask and Video using radio buttons (on the top left)
- Play/Pause video if you are in Video mode (next to radio buttons)
- Connect/Disconnect from Syphon in Mac or, Spout on Windows (radio buttons below Switch modes)
- Mark Clips with the Clip toggle (on the top right)
- Add new clips or update selected clip with a button (next to clip toggle)
- Choose few clips to be in loop with the checkbox & press next arrow to play the next clip in the sequence
- Save all the clip information as a CSV(Automatically loaded when played again)
- When in loop, break loop with a trigger from touch inputs over Serial & just use the same string for trigger.
- Ideal max video file duration: 1000s
- V0.0.5 // [DONE] Input Mode and // [DONE] Fix clips - selectable and playing // [DONE] Save/Load preferences // [DONE] Organize // [DONE] Run program when csv does not exist
- Bug fixes if any
- Add your own stencil, mask and video file
- Update variables: stencilFileName, maskFileName and maskVideoFileName appropriately
- Run the sketch to see the video playing
- Click on clips to jump to a particular marked duration
- Repo owner : TIMEBLUR
- Team contact: Mike Cj (mike@timeblur.io)