yes, i've calculated coefficients but the image looks awful when i use them:
let redfloatArr: [CGFloat] = [0.0, 0.13846153846129314, 0.01010935143288404, -2.639517345398904e-05]
let greenfloatArr: [CGFloat] = [0.0, 0.46031746031628773, 0.0063326719576909055, -1.6534391534412857e-05]
let bluefloatArr: [CGFloat] = [0.0, 0.4285310734453898, 0.00704331450095519, -1.883239171377193e-05]
and why apple uses only 0 and 1 in the example?
yes, i've calculated coefficients but the image looks awful when i use them:
let redfloatArr: [CGFloat] = [0.0, 0.13846153846129314, 0.01010935143288404, -2.639517345398904e-05]
let greenfloatArr: [CGFloat] = [0.0, 0.46031746031628773, 0.0063326719576909055, -1.6534391534412857e-05]
let bluefloatArr: [CGFloat] = [0.0, 0.4285310734453898, 0.00704331450095519, -1.883239171377193e-05]
and why apple uses only 0 and 1 in the example?