for (int i = 0; i <= max; i++) {
All of the examples demonstrating ordered dithering so far have been produced using a specific type of threshold matrix commonly known as a Bayer matrix. In theory however any matrix could be used and a number of alternatives are available depending on your qualitative preference. Matrices also don’t have to be square or even rectangular; polyomino-based dithering matrices have been explored as well[6].
,这一点在旺商聊官方下载中也有详细论述
CDN integration
The hidden cost of promises