Simulated cloth example, with collision detection (uses the Canvas plugin and physics)
Use the arrows keys, or drag the red bar to move the cloth and collide with the wall.
Could be used as a cape or flag in a game?
<img src="https://dl.dropbox.com/u/22173473/cloth.png" border="0">
If it sticks you can drag the corners to free it. <img src="smileys/smiley9.gif" border="0" align="middle">