private static ArrayBitmap generateLighting(int radius, int width,
			int height, Color color) {
		ArrayBitmap result = new ArrayBitmap(width, height);
		int centerX = width / 2;
		int centerY = height / 2;
		int radiusSq = radius * radius;
		for (int j = 0, distY = -centerY; j < height; j++, distY++) {
			for (int i = 0, distX = -centerX; i < width; i++, distX++) {
				result.set(
						i,
						j,
						calcLight(radius, radiusSq, distX, distY,
								Dither.getDither(i, j), color));
			}
		}
		return result;
	}