gets rid of unnecessary stuff in isopleth
This commit is contained in:
parent
6a0fe4beb7
commit
98a37771ca
@ -153,10 +153,7 @@ BallRenderer.prototype = {
|
||||
createArray: function(){
|
||||
return new Uint8ClampedArray(this.size * 4);
|
||||
},
|
||||
isopleth: function(factor){
|
||||
var skip = false;
|
||||
if(!(factor>0)) factor = 1;
|
||||
this.isoplethLayer = this.createArray();
|
||||
isopleth: function(){
|
||||
for (var i = 0, len = this.contourLayer.length; i<len; i+=4){
|
||||
var alpha = this.contourLayer[i + 3];
|
||||
if (alpha > 0 && alpha < 255){
|
||||
|
Loading…
Reference in New Issue
Block a user