Skip to content

Instantly share code, notes, and snippets.

@enjalot
Created January 24, 2013 02:16
Show Gist options
  • Save enjalot/4617096 to your computer and use it in GitHub Desktop.
Save enjalot/4617096 to your computer and use it in GitHub Desktop.
Tributary inlet
{"description":"Tributary inlet","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"something.svg":{"default":true,"vim":false,"emacs":false,"fontSize":12},"mail.svg":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"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.selectAll("svg").attr({width: tributary.sw,
height:tributary.sh,
// viewBox:""
})
svg.selectAll("path")
//.attr("transform", "translate(100,100)scale(5)")
Display the source blob
Display the rendered blob
Raw
<svg class="icon-x-circle {{@class}}" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" enable-background="new 0 0 12 12" xml:space="prese rve"><g><path d="M5.999,0.914c2.807,0,5.087,2.283,5.087,5.084c0,2.807-2.28,5.09-5.087,5.09 c-2.804,0-5.086-2.283-5.086-5.09C0.913,3.197,3.194,0.914,5.999 ,0.914 M5.999,0C2.686,0,0,2.684,0,5.998 C0,9.313,2.686,12,5.999,12C9.313,12,12,9.313,12,5.998C12,2.684,9.313,0,5.999,0"/><polygon fill="#9092B3" points=" 8.931,4.359 7.637,3.067 5.999,4.707 4.361,3.067 3.067,4.359 4.706,5.998 3.067,7.638 4.361,8.932 5.999,7.292 7.637,8.932 8.931,7.638 7.292,5.998"/></g></s vg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment