For a cryptography class a couple years ago, a friend (Bryan Wintermute) and I created something to show how the Playfair cipher works.
Half of the project consisted of demonstrating Playfair while the other half was me seeing what I could do with jQuery and moving objects around the page (hint: click reset, it's my favorite). It's all in JavaScript and CSS.
Here is our implementation.