Simple 2D 24-hour clock with a hand for each time-zone
world-clock-2022-05-20_18.44.20.mp4
- Build and run
- [optional] Customize
world_clock.json
in the working directory - Press A/D/Left/Right to rotate hands
- Press Space to reset rotation
- Press Escape to quit
The document root must be a single object containing a list of objects (key-value pairs). Currently supported variables are listed below:
{
"some_unique_id": {
"offset": -3.25,
"colour": "#ff8800ff"
}
}
- CMake 3.19+
- C++20
- [optional] vulkify
- If
vulkify
is installed, pass its path asCMAKE_PREFIX_PATH
when configuring:
cmake -S . -B out -DCMAKE_PREFIX_PATH=path/to/vulkify
- Otherwise
world-clock
will download it via CMakeFetchContent