I recorded six videos of a friend dancing and mapped them to planes around a sphere in Three.JS, then wrote gaze raycasting controls that would allow the user to rotate the sphere and get an unique perspective on the dancer’s movement. The implementation involved:
* initializing a scene,
* creating an object hierarchy,
* implementing mouse raycasting,
* adding video textures and animated shaders.