imgcolor.b = 0; imgcolor.r = 1 - dist1 / 5; imgcolor.g = 0;
imgcolor.b = 0; imgcolor.r = 1 - dist1 / 5; imgcolor.g = 1 - min(1,max(0,dist2));
dist1
r
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)