Created
August 13, 2012 04:36
-
-
Save roundrobin/3337008 to your computer and use it in GitHub Desktop.
Another Inlet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"description":"Another Inlet","endpoint":"","display":"svg","public":true,"require":[],"tab":"edit","display_percent":0.4785166240409207,"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,"editor_editor":{"coffee":false,"vim":false,"emacs":false,"width":897,"height":409,"hide":false}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var diameter = 147; | |
var path = "M 300 50 a "+25+" "+61+" 0 0 0 "+(234)+" "+(8)+" L545,-20 L400,-100Z"; | |
var path2 = "M 300 50 a "+15+" "+61+" 0 0 0 "+(234)+" "+(8)+" L545,-20 L400,-100Z"; | |
g.append('path') | |
.attr("stroke","black") | |
.attr("stroke-width",3) | |
.attr("fill","none") | |
.attr("d",path) | |
.attr('transform','translate(100,120)') | |
.transition() | |
.duration(1000) | |
.attr("d",path2); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment