Using the
Raphael
JavaScript vector library