TF2 Panoramics?

There was a thread on Facepunch a while ago and there was code on making TF2 360 degree screenshots, I looked on google and found some pictures but no real way to get the code, so if anyone has the code can I please have it?

This might be useful for anyone and It can create great images for any source game as long as the commands are compatible with the TF2 version of the engine.

+left and keep hitting F5? Then just put together