Skip to content

Instantly share code, notes, and snippets.

@enjalot
Last active August 29, 2015 14:26
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 enjalot/7d1f129d79bea04509ae to your computer and use it in GitHub Desktop.
Save enjalot/7d1f129d79bea04509ae to your computer and use it in GitHub Desktop.
lever logo -> 3d
{"description":"lever logo -> 3d","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"lever.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}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"ajax-caching":true,"thumbnail":"http://i.imgur.com/vBDGuRN.png"}
d3.select("#display").style("background", "white");
var topdark = d3.select("#topdark")
var toplight = d3.select("#toplight")
var triangle = d3.select("#triangle")
topdark.style({
fill: "black",
stroke: "black",
"stroke-width": 10
})
toplight.style({
stroke: "black",
"stroke-width": 10,
"stroke-dasharray": "1064 142",
"stroke-dashoffset": 192,
"stroke-linecap": "round",
fill: "white"
})
triangle.style({
fill: "black"
})
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