Theme Catppuccin
Make yourself at homeCatppuccin

A softer light for long learning sessions.

Appearance

Loading your preference…

Dark palette

Choose a dark palette to try it.

Light uses Latte. Your choices stay in this browser.

Back to your source shelf

Inside the companion

Build your studio

Two small CMake checkpoints: one executable, then a library with tests and presets.

Project files 9

Publish a small library interface

The checker function that both the application and tests consume.

9 lines checker.hpp
#pragma once
#include <cstddef>
#include <cstdint>

namespace studio {
// Two-pixel-wide squares. Every size_t coordinate is supported.
[[nodiscard]] std::uint8_t shade(std::size_t x, std::size_t y) noexcept;
}

This is the file included with the course. Copy and download give you its complete source.

Taking your work offline? Download all course companions