Skip to content

Instantly share code, notes, and snippets.

/_.md

Created November 14, 2012 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4069685 to your computer and use it in GitHub Desktop.
Save anonymous/4069685 to your computer and use it in GitHub Desktop.
Another Inlet
{"description":"Another Inlet","endpoint":"","display":"svg","public":true,"require":[],"tab":"edit","display_percent":0.5183383350726749,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01}
console.log(d3.select("#bild"))
d3.select("#bild")
.attr("x",-200)
.transition()
.duration(1200)
.attr("x",-100)
.attr("y",100);
d3.select("#animated-rect")
.attr("width",0)
.transition()
.duration(1000)
.attr("width",10)
.transition()
.duration(1000)
.attr("x",200)
.attr("width",500)
.attr("fill","#DB00DB")
d3.select("#animated-rect2")
.attr("width",0)
.transition()
.duration(1000)
.attr("width",500)
.transition()
.duration(1000)
.attr("x",200)
.attr("width",500)
.attr("fill","#DB00DB")
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment