SVG, animated using SMIL. Browser support. Might not work correctly in Safari: bug report. Here's the source of the demo.