#include "studio/checker.hpp" namespace studio { std::uint8_t shade(std::size_t x, std::size_t y) noexcept { const bool bright = (((x / 2) ^ (y / 2)) & 1) != 0; return bright ? std::uint8_t{224} : std::uint8_t{32}; } }