Merge pull request #98 from lllllllllwith10ls/main
Remove console.log in chem.js
This commit is contained in:
commit
954feddf7a
|
|
@ -1038,7 +1038,6 @@ function doStaining(pixel) {
|
||||||
avg[j] = Math.floor((rgb[j]*(1-Math.abs(stain))) + (newColor[j]*Math.abs(stain)));
|
avg[j] = Math.floor((rgb[j]*(1-Math.abs(stain))) + (newColor[j]*Math.abs(stain)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(avg);
|
|
||||||
// set newPixel color to avg
|
// set newPixel color to avg
|
||||||
newPixel.color = "rgb("+avg.join(",")+")";
|
newPixel.color = "rgb("+avg.join(",")+")";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue