diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -430,13 +430,13 @@ var ellipse = draw.ellipse(100, 100).attr('cx', '20%').fill('#333') rect.animate(3000).move(100, 100).during(function(pos, morph) { /* numeric values */ - circle.size(morph(100, 200), morph(100, 50)) + ellipse.size(morph(100, 200), morph(100, 50)) /* unit strings */ - circle.attr('cx', morph('20%', '80%')) + ellipse.attr('cx', morph('20%', '80%')) /* hex color strings */ - circle.fill(morph('#333', '#ff0066')) + ellipse.fill(morph('#333', '#ff0066')) }) ``` |