fiel refactor

This commit is contained in:
Peter Cottle 2012-12-19 10:24:11 -08:00
parent 2b308e2ae9
commit 68ff9cebea
6 changed files with 820 additions and 845 deletions

View file

@ -750,6 +750,16 @@ var VisNode = VisBase.extend({
}, this);
},
finishAnimation: function() {
var circle = this.get('circle');
// decide on a speed
var speedMag = 10;
var angle = Math.random() * 2 * Math.PI;
var vx = speedMag * Math.cos(angle);
var vy = speedMap * Math.sin(angle);
},
genGraphics: function() {
var paper = this.gitVisuals.paper;