<script src="/1wheel/raw/67b47524ed8ed829d021/d3-3.5.5.js"></script>
<script src="/1wheel/raw/67b47524ed8ed829d021/lodash-3.8.0.js"></script>
<script src='/1wheel/raw/1b6758978dc2d52d3a37/d3-jetpack.js'></script>
<script src='/1wheel/raw/1b6758978dc2d52d3a37/d3-starterkit.js'></script>
var svg = d3.select('body').append('svg')
.attr({width: s, height: s})
var defs = svg.append('defs')
var filter = defs.append('filter')
filter.append("feGaussianBlur")
.attr({stdDeviation: 3, result: 'coloredBlur'})
var merge = filter.append('feMerge')
merge.append('feMergeNode')
.attr({in: 'coloredBlur'})
merge.append('feMergeNode')
.attr({in: 'sourceGraphic'})
.endAngle(function(d){ return Math.PI + Math.PI*2*d })
var curRadius = Math.random()
var pathBG = svg.append('path').attr('d', arc(curRadius))
.style('filter', 'url(#glow)')
var pathFG = svg.append('path').attr('d', arc(curRadius))
var newRadius = Math.random()
d3.selectAll('path').transition().duration(750)
.attrTween('d', function(d){
var i = d3.interpolate(curRadius, newRadius)
return function(t){ return arc(i(t)) }
.each('end', function(){ curRadius = newRadius })