much better

This commit is contained in:
Peter Cottle 2012-12-19 11:09:32 -08:00
parent 8280f4379d
commit 9bdcedae12
5 changed files with 597 additions and 590 deletions

View file

@ -4,6 +4,12 @@ var GRAPHICS = require('../util/constants').GRAPHICS;
var VisBase = require('../visuals/tree').VisBase;
var randomHueString = function() {
var hue = Math.random();
var str = 'hsb(' + String(hue) + ',0.7,1)';
return str;
};
var VisBranch = VisBase.extend({
defaults: {
pos: null,