0x1d0171d9…aa9asent to0x99a9b7c1…b069·#16,157,789·view on Etherscan
19,0.22,0.07,0.08,0.1,0.11,0.13,0.15,0.17,0.17,0.18,0.22,0.08,0.09,0.11,0.12,0.12,0.15,0.18,0.19,0.19,0.23,0.08,0.09,0.11,0.13,0.14,0.17,0.2,0.22,0.24,0.27,0.08,0.09,0.11,0.13,0.15,0.19,0.25,0.28,0.32,0.33,0.08,0.09,0.11,0.14,0.17,0.23,0.3,0.37,0.42,0.41,0.08,0.1,0.12,0.15,0.21,0.29,0.4,0.48,0.52,0.49,0.1,0.11,0.13,0.19,0.27,0.38,0.49,0.59,0.61,0.55,0.1,0.12,0.16,0.23,0.33,0.43,0.55,0.65,0.64,0.57,0.13,0.14,0.19,0.25,0.34,0.43,0.53,0.6,0.6,0.56],[0.06,0.06,0.06,0.07,0.08,0.09,0.08,0.07,0.07,0.07,0.06,0.07,0.07,0.08,0.09,0.09,0.09,0.08,0.07,0.07,0.06,0.07,0.08,0.08,0.09,0.11,0.1,0.09,0.07,0.07,0.06,0.07,0.08,0.09,0.1,0.12,0.12,0.1,0.08,0.08,0.06,0.07,0.08,0.1,0.11,0.13,0.12,0.1,0.08,0.08,0.06,0.07,0.08,0.09,0.11,0.13,0.12,0.1,0.08,0.08,0.06,0.07,0.07,0.09,0.1,0.12,0.12,0.1,0.08,0.08,0.06,0.07,0.07,0.08,0.1,0.11,0.11,0.09,0.08,0.08,0.06,0.06,0.06,0.07,0.09,0.1,0.09,0.08,0.08,0.08,0.06,0.06,0.06,0.06,0.08,0.09,0.09,0.08,0.08,0.08],[0.41,0.37,0.33,0.3,0.28,0.26,0.23,0.19,0.16,0.16,0.39,0.29,0.25,0.23,0.22,0.22,0.2,0.17,0.14,0.14,0.4,0.27,0.22,0.2,0.18,0.17,0.16,0.14,0.13,0.13,0.46,0.34,0.24,0.2,0.17,0.16,0.14,0.14,0.13,0.13,0.55,0.47,0.35,0.25,0.2,0.17,0.16,0.15,0.14,0.14,0.65,0.62,0.52,0.38,0.27,0.2,0.17,0.17,0.15,0.14,0.73,0.75,0.66,0.54,0.39,0.27,0.2,0.19,0.17,0.16,0.78,0.82,0.79,0.69,0.55,0.4,0.28,0.23,0.19,0.18,0.79,0.85,0.85,0.79,0.66,0.5,0.39,0.28,0.21,0.19,0.76,0.82,0.82,0.77,0.66,0.54,0.43,0.32,0.25,0.2],[0.43,0.4,0.37,0.35,0.35,0.37,0.41,0.45,0.5,0.55,0.41,0.35,0.3,0.27,0.26,0.27,0.33,0.41,0.49,0.55,0.41,0.32,0.25,0.2,0.18,0.19,0.26,0.37,0.48,0.57,0.41,0.31,0.21,0.15,0.13,0.14,0.2,0.32,0.46,0.57,0.42,0.31,0.2,0.14,0.12,0.12,0.17,0.29,0.44,0.58,0.45,0.34,0.22,0.16,0.13,0.13,0.18,0.31,0.48,0.61,0.48,0.39,0.28,0.2,0.17,0.19,0.25,0.39,0.56,0.65,0.53,0.46,0.38,0.31,0.28,0.3,0.37,0.48,0.62,0.68,0.56,0.54,0.5,0.45,0.44,0.46,0.5,0.57,0.66,0.69,0.57,0.58,0.58,0.55,0.54,0.56,0.57,0.62,0.66,0.67],[0.04,0.03,0.03,0.04,0.04,0.04,0.05,0.05,0.05,0.06,0.04,0.05,0.06,0.05,0.06,0.08,0.07,0.07,0.06,0.05,0.05,0.08,0.11,0.16,0.19,0.19,0.16,0.11,0.07,0.05,0.06,0.12,0.22,0.35,0.43,0.42,0.34,0.2,0.12,0.07,0.07,0.17,0.32,0.49,0.58,0.57,0.47,0.3,0.17,0.09,0.06,0.15,0.32,0.5,0.6,0.6,0.49,0.31,0.17,0.09,0.05,0.11,0.22,0.37,0.48,0.48,0.38,0.23,0.13,0.08,0.05,0.07,0.11,0.18,0.24,0.25,0.21,0.15,0.09,0.06,0.04,0.05,0.05,0.07,0.09,0.1,0.09,0.08,0.07,0.06,0.04,0.04,0.03,0.04,0.04,0.05,0.05,0.05,0.05,0.05],[0.9,0.88,0.74,0.41,0.15,0.07,0.05,0.04,0.04,0.04,0.93,0.91,0.76,0.41,0.13,0.06,0.05,0.04,0.03,0.04,0.94,0.94,0.8,0.41,0.12,0.06,0.05,0.04,0.03,0.04,0.95,0.95,0.81,0.41,0.12,0.06,0.05,0.04,0.03,0.03,0.95,0.95,0.82,0.43,0.13,0.07,0.05,0.04,0.03,0.03,0.95,0.95,0.81,0.42,0.12,0.06,0.05,0.04,0.03,0.03,0.94,0.94,0.8,0.4,0.11,0.06,0.05,0.04,0.03,0.03,0.94,0.94,0.78,0.38,0.1,0.05,0.05,0.04,0.03,0.03,0.92,0.91,0.75,0.37,0.11,0.06,0.04,0.04,0.03,0.04,0.89,0.87,0.71,0.38,0.13,0.07,0.05,0.04,0.03,0.04],[0.92,0.94,0.92,0.86,0.64,0.33,0.16,0.08,0.04,0.04,0.93,0.95,0.93,0.89,0.66,0.33,0.15,0.07,0.04,0.04,0.94,0.94,0.93,0.9,0.67,0.34,0.15,0.07,0.04,0.04,0.94,0.95,0.93,0.9,0.69,0.34,0.15,0.07,0.04,0.03,0.94,0.96,0.93,0.89,0.7,0.35,0.14,0.07,0.04,0.03,0.94,0.96,0.94,0.9,0.7,0.34,0.13,0.06,0.04,0.03,0.94,0.97,0.96,0.93,0.71,0.34,0.15,0.07,0.04,0.04,0.93,0.95,0.95,0.92,0.7,0.34,0.15,0.07,0.04,0.03,0.93,0.95,0.94,0.89,0.67,0.33,0.13,0.06,0.04,0.03,0.91,0.93,0.91,0.85,0.63,0.32,0.14,0.07,0.04,0.04],[0.12,0.14,0.18,0.26,0.37,0.51,0.65,0.73,0.77,0.78,0.1,0.12,0.16,0.24,0.36,0.52,0.68,0.76,0.81,0.81,0.09,0.11,0.16,0.23,0.35,0.53,0.7,0.8,0.84,0.84,0.07,0.09,0.14,0.21,0.32,0.52,0.72,0.82,0.86,0.85,0.05,0.07,0.11,0.17,0.29,0.5,0.7,0.81,0.85,0.85,0.05,0.06,0.1,0.16,0.29,0.5,0.71,0.81,0.85,0.85,0.06,0.07,0.12,0.2,0.33,0.52,0.72,0.81,0.85,0.84,0.08,0.1,0.15,0.23,0.35,0.54,0.7,0.79,0.83,0.83,0.1,0.11,0.16,0.24,0.35,0.52,0.68,0.75,0.8,0.8,0.12,0.13,0.18,0.26,0.37,0.51,0.65,0.72,0.75,0.77],[0.05,0.05,0.07,0.11,0.21,0.39,0.49,0.39,0.22,0.14,0.05,0.05,0.07,0.11,0.21,0.45,0.58,0.46,0.24,0.13,0.04,0.04,0.06,0.11,0.22,0.48,0.65,0.51,0.25,0.13,0.04,0.04,0.06,0.1,0.23,0.51,0.69,0.55,0.27,0.13,0.04,0.04,0.05,0.1,0.23,0.52,0.71,0.56,0.28,0.13,0.04,0.04,0.05,0.1,0.23,0.51,0.71,0.57,0.28,0.12,0.04,0.04,0.06,0.1,0.22,0.5,0.69,0.56,0.27,0.12,0.04,0.05,0.06,0.11,0.21,0.47,0.64,0.51,0.24,0.12,0.05,0.05,0.06,0.1,0.2,0.43,0.57,0.44,0.23,0.13,0.05,0.05,0.06,0.1,0.18,0.38,0.48,0.39,0.22,0.14]]
all_colors = [[3,62,140],[4,135,217],[4,191,173],[26,26,26],[46,89,3],[73,101,131],[104,91,73],[106,131,132],[112,151,192],[140,78,3],[150,134,117],[158,190,207],[216,206,196],[242,94,61],[242,147,92],[242,227,12],[242,242,242]]
pfgc = [[[0.08,0.67,0.08,0.18],[0.03,0.74,0.03,0.2],[0.03,0.95,0,0.03],[0,1,0,0]],[[0.11,0.37,0.15,0.37],[0.11,0.45,0.13,0.31],[0.08,0.42,0.16,0.34],[0.13,0.37,0.19,0.31]],[[0.12,0.21,0.22,0.44],[0.16,0.26,0.26,0.32],[0,0.3,0.4,0.3],[0.25,0.25,0.25,0.25]],[[0.46,0.07,0.37,0.1],[0.43,0.12,0.32,0.13],[0.43,0.08,0.43,0.07],[0.42,0.06,0.46,0.05]],[[0.35,0.16,0.28,0.2],[0.26,0.18,0.34,0.22],[0.31,0.19,0.34,0.17],[0.28,0.19,0.36,0.17]],[[0.15,0.3,0.1,0.45],[0.11,0.34,0.19,0.36],[0.11,0.34,0.17,0.37],[0.14,0.34,0.2,0.32]],[[0.61,0,0.36,0.03],[0.4,0.06,0.46,0.08],[0.43,0.05,0.5,0.02],[0.56,0.05,0.39,0.01]],[[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.08,0.24,0.03,0.65],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.33,0.33,0.33,0],[0.67,0,0,0.33],[0.25,0.25,0,0.5],[1,0,0,0]],[[0,0.3,0.3,0.4],[0.13,0.25,0.2,0.42],[0.16,0.29,0.23,0.31],[0.18,0.28,0.23,0.32]],[[0.7,0.08,0.15,0.07],[0.52,0.12,0.23,0.12],[0.55,0.09,0.31,0.05],[0.75,0.08,0.15,0.01]],[[0.03,0.66,0.03,0.29],[0,0.74,0,0.26],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.22,0.2,0.25,0.34],[0.2,0.19,0.21,0.41],[0.08,0.17,0.33,0.42],[0.25,0.25,0.25,0.25]],[[0.08,0.42,0.09,0.4],[0.09,0.47,0.1,0.33],[0.07,0.36,0.25,0.32],[0.2,0.3,0.1,0.4]],[[0.25,0.25,0.25,0.25],[0.5,0,0.5,0],[0.25,0.25,0,0.5],[0,1,0,0]],[[0.33,0,0.33,0.33],[0.11,0.44,0.22,0.22],[0.09,0.18,0.18,0.55],[0.25,0.25,0.25,0.25]],[[0.25,0.25,0.25,0.25],[0.22,0.22,0,0.57],[0.16,0.23,0.14,0.47],[0.18,0.26,0.21,0.35]],[[0.19,0.18,0.23,0.4],[0.21,0.23,0.28,0.28],[0.33,0.13,0.37,0.17],[0.33,0,0.67,0]],[[0.08,0.5,0.1,0.33],[0.06,0.58,0.11,0.24],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.5,0,0,0.5],[0.03,0.46,0.03,0.48],[0.05,0.64,0.05,0.26],[0.07,0.68,0.07,0.18]],[[0.6,0.02,0.36,0.03],[0.52,0.02,0.44,0.03],[0.82,0,0.15,0.03],[0.25,0.25,0.25,0.25]],[[0.55,0.01,0.41,0.04],[0.29,0,0.64,0.07],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.06,0.53,0.14,0.28],[0.03,0.64,0.08,0.25],[0,0.89,0,0.11],[0,1,0,0]],[[0.08,0.33,0.21,0.38],[0.08,0.42,0.16,0.34],[0.09,0.46,0.13,0.32],[0.07,0.57,0.13,0.23]],[[0,0.11,0,0.89],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[1,0,0,0],[1,0,0,0],[1,0,0,0],[0.25,0.25,0.25,0.25]],[[0.25,0.25,0.25,0.25],[1,0,0,0],[0,0.75,0,0.25],[0,0,1,0]],[[0.22,0.11,0.33,0.33],[0.11,0.2,0.22,0.47],[0.11,0.28,0.24,0.37],[0.11,0.29,0.28,0.33]],[[0.74,0.02,0.13,0.11],[0.53,0.06,0.34,0.06],[0.47,0.05,0.42,0.05],[0.49,0.03,0.45,0.02]],[[0.46,0.05,0.45,0.03],[0.5,0.05,0.4,0.04],[0.79,0,0.2,0.01],[1,0,0,0]],[[0.09,0.31,0.03,0.57],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.3,0.11,0.54,0.05],[0.33,0.12,0.42,0.13],[0.46,0.12,0.31,0.12],[0.6,0.08,0.21,0.1]],[[0.25,0.25,0.25,0.25],[0.06,0.2,0.19,0.56],[0.07,0.3,0.23,0.41],[0.1,0.26,0.28,0.36]],[[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[1,0,0,0],[0.25,0.25,0.25,0.25]],[[0.03,0.75,0.01,0.21],[0,0.75,0.17,0.08],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.23,0.17,0.29,0.31],[0.21,0.2,0.22,0.36],[0.21,0.36,0.36,0.07],[0.25,0.25,0.25,0.25]],[[0.13,0.4,0.17,0.29],[0.11,0.45,0.2,0.24],[0.17,0.41,0.14,0.29],[0.2,0.45,0.15,0.2]],[[0.28,0.13,0.35,0.24],[0.26,0.16,0.26,0.32],[0.32,0.14,0.28,0.27],[0.36,0.15,0.28,0.21]],[[0.27,0.19,0.31,0.23],[0.22,0.22,0.27,0.29],[0.29,0.17,0.28,0.26],[0.33,0.16,0.26,0.25]],[[0.25,0.25,0.25,0.25],[0.25,0.11,0.05,0.6],[0.18,0.16,0.2,0.46],[0.22,0.22,0.26,0.3]],[[0.4,0,0.2,0.4],[1,0,0,0],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.07,0.56,0.1,0.26],[0.08,0.65,0.06,0.21],[0,0.75,0,0.25],[0.25,0.25,0.25,0.25]],[[0,0,0,1],[0.02,0.33,0.1,0.55],[0.05,0.53,0.11,0.31],[0.11,0.6,0.12,0.18]],[[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.34,0.04,0.52,0.1],[0.53,0.03,0.32,0.13],[0.25,0.25,0.25,0.25],[0.25,0.25,0.25,0.25]],[[0.54,0.07,0.24,0.16],[0.49,0.1,0.26,0.14],[0.48,0.12,0.29,0.11],[0.67,0.07,0.22,0.05]]]
// xy2rgb_mixed_model_small.js
Weights = new Array
Bias = new Array
Weights[0] = [[-353,-415,-485,130,736],[-101,27,102,777,1120],[-645,-187,-317,-122,-779],[48,297,-529,-696,-34],[-105,346,306,-539,1020],[-145,690,49,169,243],[-400,32,672,414,-371],[307,123,-879,751,-635],[88,582,416,335,485],[314,515,-126,468,-68],[273,-80,-773,-643,-586],[467,62,-253,-295,-681],[86,160,-688,-828,832],[-568,-16,365,-577,-991],[406,-438,104,-699,-74],[-265,391,-607,242,-187],[-554,-13,377,-842,-138],[-839,5,424,169,259],[78,623,541,-260,-935],[-295,-60,132,487,1129],[-396,132,-490,-259,910],[30,-78,275,1223,-655],[-485,-4,-590,-843,71],[-16,252,162,493,-417],[564,-14,95,733,-263],[74,-201,-597,1124,173],[-13,520,592,719,-70],[5,144,1083,-926,413],[172,62,319,-442,-413],[786,12,-254,-571,-393],[413,-136,419,-263,499],[-12,376,-226,-707,7]]
Weights[1] = [[-145,-398,39,70,124,-108,265,-8,35,-53,-457,-362,-129,-165,115,-11,-292,-464,145,-15,-52,312,-65,90,75,11,88,191,199,-90,202,-162],[15,320,89,85,-80,-418,260,37,5,-323,142,216,180,135,95,-183,-31,-237,-366,-290,234,280,182,7,75,369,52,-29,-11,-115,-104,105],[199,54,-433,-324,211,-105,-27,55,-101,-234,286,236,140,-674,100,-120,182,-121,78,518,200,73,60,166,-91,-160,-20,387,249,352,65,115],[2,5,5,1,1,-0,0,7,5,-5,-5,-1,-4,-5,-4,-6,3,-6,-2,-5,-1,2,2,1,5,-6,-2,-5,-5,0,-2,-1],[124,11,-335,137,-24,-23,-322,118,24,-258,55,-116,512,-48,-193,