Sorry if this sounds childish. I have been trying to manipulate a canvas element (of HTML5) (eg. a long rectangle) by folding the edge, like you are folding a paper.
Is there an existing javascript APIs for this? Or any recommendation where to begin?
Thanks.
I hope this helps:
https://github.com/mrdoob/three.js/
A Javascript 3d engine