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

@ -213,8 +213,10 @@ BallRenderer.prototype = {
for (var n = 0, ln = neighbors.length; n<ln; ++n){
var index = neighbors[n];
if(index>0 && (contour[index+3] === 0 || contour[index+3] !== contour[i+3])){
iso[index+3] = contour[i+3];
iso[index] = 150;
iso[index + 3] = contour[i+3];
iso[index] = 153;
iso[index + 1] = 60;
iso[index + 2] = 243;
}
}
}