The holographic Foucault null test is a Foucault null test that uses a computer generated holographic mask in front of the mirror.
Mauritz Andersson has developed the ground-breaking mirror test at http://xiluma.se/holomask/
. He's made the source code open source under the MIT License at https://github.com/ztiruam/holomask
For information on the test itself, please see Mauritz's webpage. And thanks to Mauritz for making the code open source.
I applied minimal refracting, mainly namespaces and scope, mirroring Mauritz's PHP code as much as possible. This helps others understand my port, helps with debugging and will help when updating the JS code when the PHP side changes.