Scribbled or bent paper, how can it be done

I’ve seen some flash sites that have a paper wrinkles together, or scribbled to a ball. But I don’t remember their adresses at the moment, but I just saw this site that have a paper bending in a cool way.

http://www.minikostkiknorr.pl

Any ideas on how to scribble a paper or do anything like the site above?

Wonder if its done with Swift 3d or just actionscript or…a tip of a tutorial of some similar effect would of course be Awesome!

:beer: Cheers

Andreas