The "magic" is in the man, but not in the software. I guess it only takes a knowledge of the low level Wii remote protocols and a good grasp of linear algebra to execute this. Most people that have that knowledge still don't come up with this coolest stuff.
The implementation for this is pretty simple. What this guy did is coming with a very original and interesting idea no other came before, and that was brilliant. I'm very, very impressed.