adds color to isopleth

This commit is contained in:
Francisco Dans 2015-04-27 12:57:54 +02:00
parent 285260b8b0
commit 944b5c500d

View File

@ -214,7 +214,9 @@ BallRenderer.prototype = {
var index = neighbors[n]; var index = neighbors[n];
if(index>0 && (contour[index+3] === 0 || contour[index+3] !== contour[i+3])){ if(index>0 && (contour[index+3] === 0 || contour[index+3] !== contour[i+3])){
iso[index + 3] = contour[i+3]; iso[index + 3] = contour[i+3];
iso[index] = 150; iso[index] = 153;
iso[index + 1] = 60;
iso[index + 2] = 243;
} }
} }
} }