r/generative • u/xemantic • Nov 11 '22
Live coding generative visuals during our show called 404
2
u/mskogly Nov 12 '22
Really liked the video on your website with the people playing with the interactive inputs. Very beatiful. Can you tell us more about the tools used?
I wanted to make something similar a while back using tracking.js, but that project died unfortunately.
4
u/xemantic Nov 12 '22
There are 3 projectors, 2 kinects and 2 computers. One projector is pointing towards the wall, 2 projectors are pointing towards the floor, with 1:1 throw ratio, so we don't have to go very high, still projectors were suspended somewhere around 12m high on a truss, 4m apart. Projectors pointing towards the floor are in sync, displaying exactly the same image, so it is reducing shadows when performers are interacting with the visual and increasing overall brightness. Space tracking from the top (on around 9m) is completely aligned with projection mapping - I wrote a special space mapping/calibration layer to achieve such a registration. All of this is open source, already contributed to OPENRNDR but still not documented. I will do it soon. Before I contributed kinect 1 driver for OPENRNDR with some unique futures, measurement in meters in particular for calibration.
https://guide.openrndr.org/OPENRNDRExtras/kinect.html
The show is running on 2 rendering PCs, small form factor, relatively good GPU, like AMD APU mini PCs, I call them my fleet of art computers named after famous aliens. :) Everything under Linux + OPENRNDR custom renderer.
The first computer is my laptop, running just remote control instance of OPENRNDR, connected to MIDI, watching changes in the special programming language I developed on top of OPENRNDR for research in synaesthesia and philosophy of perception. For this project I made custom implementation of OSC protocol on top of ktor and kotlin coroutines, allowing seamless export of any control object as distributed state. The entered code is one of the properties of the state, being then compiled locally as kotlin script compatible with OPENRNDR math goodies in vector arithmetics just for error checking, then immediately transmitted to renderers to get compiled there again and be applied to the rendering loop.
https://github.com/xemantic/xemantic-state/tree/refactoringToMppAndKotlinFlows
2
2
2
u/xemantic Nov 11 '22
https://xemantic.com/404/