This video shows some things that can be done with WebGL. This one works with the original Canvas plugin.
The "video" of pants is a full 3D model loaded and rendered with javascript only ! The readily-available texture editor allows us to create and load the textures on the fly.
We could move around and see the motion of the pants in every detail. See other demos for examples.