It works by plugging stepper motors affixed to 3D-printed frames into holes drilled into a Rubiks Cube.
Only when all cameras are working would the robot function.
Hence, preparation is done by just putting paper in front of one of the lenses.
source: www.techworm.net