Paper Motion

Ive seen this effect on a couple of websites and wanted to know how is it generated. Someone told be photoshop but I dont see this effect being done in photoshop. It looks more 3d created. Does anyone know for sure on what software you can create such a technique with or a tutorial on how to create the paper effect.


http://www.liquidscratch.com/evites/tbt/tbt_ad.htm
http://www.templatemonster.com/website-templates/8236.html