adds color to isopleth
This commit is contained in:
parent
285260b8b0
commit
944b5c500d
@ -213,8 +213,10 @@ BallRenderer.prototype = {
|
|||||||
for (var n = 0, ln = neighbors.length; n<ln; ++n){
|
for (var n = 0, ln = neighbors.length; n<ln; ++n){
|
||||||
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user