Created
June 23, 2012 11:13
-
-
Save roundrobin/2977918 to your computer and use it in GitHub Desktop.
just another inlet to tributary
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 moveX = 250; | |
var moveY = 275; | |
var amplitude = 112; | |
var origin = 193; | |
var dasharray = 5; | |
var color = '#000000' | |
var group = g.append('g') | |
group.append('path') | |
.attr('d','M0,0 q'+[amplitude,origin]+' '+[249,52]) | |
.attr('stroke',color) | |
.attr('fill','none') | |
.attr('stroke-dasharray',dasharray) | |
.attr('stroke-width',1) | |
.attr('transform','translate('+[moveX,moveY]+')') | |
group.append('path') | |
.attr('d','M 0,0 l 10,5 l -10,5 z') | |
.attr('fill',color) | |
.attr('stroke',color) | |
.attr('stroke-width',1) | |
.attr('transform','translate('+[moveX-5,moveY+10]+')scale(2)rotate(-120)') | |
group.append('text') | |
.attr('id','pathWay') | |
.attr('font-size',10) | |
.attr('fill',color) | |
.text('2. Choose a character') | |
.attr('transform','translate('+[503,moveY+34]+')scale(2)') | |
group.attr('transform','translate('+[-63,0]+')') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment