rebase on master

alfred-data
Nils Schneider 2012-06-10 18:55:18 +02:00
parent 159f1273bb
commit 3ba43d8536
2 changed files with 5 additions and 5 deletions

View File

@ -199,10 +199,6 @@ var force = d3.layout.force()
}
})
var angle = d3.scale.linear()
.domain([0, 1, 2, 3])
.range([0.01, Math.PI/4, 0.01, Math.PI/4])
force.on("tick", function() {
var size = force.size()
var nodes = force.nodes()
@ -229,7 +225,7 @@ force.on("tick", function() {
vis.selectAll(".node").attr("transform", function(d) {
return "translate(" + d.x + "," + d.y + ")";
})
})
})
var data

View File

@ -1,3 +1,7 @@
var angle = d3.scale.linear()
.domain([0, 1, 2, 3])
.range([0.01, Math.PI/4, 0.01, Math.PI/4])
d3.timer(pacman)
var a = 0