layout | link | title |
---|---|---|
default |
tech |
Tech |
The hackathon will involve Travis CI data, either online through a websocket, or offline with a dump of 35M Travis jobs.
A websocket with Travis builds is available at ws://travis.durieux.me. More information about the streamed objects is available here. This tool uses Travis-CI npm package to gather jobs information. Job informations are gethered every 1.5 seconds and then exposed through the websocket channel in a "real-time" stream. More information about how Travis exposes information here
Install the websocket client package
pip3 install websocket_client
Run the following code:
import websocket
def on_message(ws, message):
print(message)
websocket.enableTrace(True)
ws = websocket.WebSocketApp("wss://travis.durieux.me/",on_message = on_message)
ws.run_forever()
ws = new WebSocket('wss://travis.durieux.me’);
ws.onmessage = console.log
More information is available here.
A template using a node.js program to "convert" the websocket packets of Travis data to OSC messages that can be parsed by anything that understands OSC and JSON. openFrameworks and SuperCollider examples are provided to build upon. See the templates section of the repository or click this link.
Travis Listener provides a websocket server for easier use (documentation)
We have setup hardware bridges to exploit the unique space of reaktorhallen. Participants have the opportunity to hook on two hardware interfaces
We will setup 20 light fixtures in reaktorhallen, which can be controlled through a simple web interface. Hackathon participants can use the ligth fixtures emulator to prepare their piece of CI art. The same code can be reused to control real light fixtures on the day of the hackathon. More documentation about this interface is available here
Here are popular Javascript libraries for data vizualization
For example, the Travis CI drum machine uses the P5.js library.
To be documented.
Impulse response files recorded in the reactor hall can be used to simulate its reverb in the computer. Read more here or go to resources/impulse-response_of_reaktorhallen
.
Here are examples of sound synthesis libraries
For example, the Pulse of Travis uses tone.js.
A collection of libraries, code examples and papers that can serve to build CI-art pieces.
- Network-synchronised metronome a library to synchronize several device with respect to a common pulse, over wifi. Can be useful to syncrhonize the CI event and the media displays.
- Pure Data and openGL. A set of Pure Data (Pd) externals written with openFrameworks API, that bring OpenGL graphics and utilities to Pd.
- CodePen is a social development environment for front-end designers and developers. It includes various visual effects that can be remixed for the hackathon. Here a few curated examples
- Infinite tree of life