<script> var paper = Raphael(10, 50, 920, 900); var circle = paper.circle(50, 40, 10); circle.attr("fill", "#f00"); circle.attr("stroke", "#fff"); paper.path("M150 0 L75 200 L225 200 Z"); var myshape = paper.path("M 100 350 q 150 -300 300 0 Z").attr({fill: "rgb(213,111,5)"}); myshape.animate({fill:"red", "stroke-width": 20}, 2000, "bounce"); </script>