Event markers
Last updated
Last updated
While You: Quantified mainly focuses on online visualization and real-time experiences, event markers also exist if someone wants to use them for recordings. Event markers are treated like other devices but are streamed from within the visualization. This means you trigger event markers from within a visual.
To send event markers, call the following function inside a P5.js visual.
The message has to be a JavaScript object, which means it needs to have a key, and value pair structure, such as:
This also means you can do something more akin to a JSON.
With that pre-scripted function, you will send an event that will be saved alongside the timestamp when it was transmitted.
While an advanced use-case, by leveraging P5.js and JavaScript function, you can send events triggered by