Skip to content

Instantly share code, notes, and snippets.

@georules
Created November 10, 2012 23:38
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 georules/4052989 to your computer and use it in GitHub Desktop.
Save georules/4052989 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.5339100346020759,"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}
var svg = d3.select("svg");
svg.append("rect")
.attr({
x: 100,
y: 500,
width: 100,
height: 100,
fill: "#3B5463"
})
var test = svg.select("#test")
.attr("fill", "#030503");
console.log(test);
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