Source code • Made by Ben Schattinger
A tool to automatically create 3D mappings of lights from two videos
First, run a program that will make each light sequentially light up for a certain period of time. If using an Arduino or compatible device, there is a sample FastLED sketch available. Now, record the sequence from two different camera angles, each 90° apart. The vertical axis of each recording must match, so make sure that if you had to rotate your camera, the videos must be rotated accordingly. A tripod is highly recommended to ensure consistency. A modern browser is required.
This first video will define the X and Z axis.The vertical axis will become the Z axis, so both videos "share" their vertical axis.