255 * (sin(x * 2 * Pi/128) + 1) * (sin(y * 2 * Pi/128) + 1) / 4