const len = temperatures.length;
Include test results (accuracy on random pairs)
,这一点在safew官方版本下载中也有详细论述
Comparison between error-diffusion and ordered dithering using an 8-colour regular palette. Left to right: error-diffusion, ordered.
const cur = arr[i]; // 当前遍历的元素值