Skip to content

Instantly share code, notes, and snippets.

Created June 3, 2012 22:32
Show Gist options
  • Save anonymous/2865243 to your computer and use it in GitHub Desktop.
Save anonymous/2865243 to your computer and use it in GitHub Desktop.
just another inlet to tributary
var svg = d3.select('svg')
var circle = svg.append('ellipse')
.attr('ry',98)
.attr('rx',100)
.attr('cx',100)
.attr('cy',400)
circle.transition()
.ease('elastic',5,7)
.duration(600)
.attr('cx',500)
.attr('rx',50)
.each('end',function(d){
d3.select(this).transition()
.ease('elastic',6,7)
.duration(300)
.attr('rx',100)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment