25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
<!--[metadata]
|
|
title = "Clock"
|
|
thumbnail = "https://static.rerun.io/clock/8c49e25f5cac4d6a1d7d0490b14cf6881bdb707b/480w.png"
|
|
thumbnail_dimensions = [480, 480]
|
|
-->
|
|
|
|
|
|
<picture>
|
|
<source media="(max-width: 480px)" srcset="https://static.rerun.io/clock/05e69dc20c9a28005f1ffe7f0f2ac9eeaa95ba3b/480w.png">
|
|
<source media="(max-width: 768px)" srcset="https://static.rerun.io/clock/05e69dc20c9a28005f1ffe7f0f2ac9eeaa95ba3b/768w.png">
|
|
<source media="(max-width: 1024px)" srcset="https://static.rerun.io/clock/05e69dc20c9a28005f1ffe7f0f2ac9eeaa95ba3b/1024w.png">
|
|
<source media="(max-width: 1200px)" srcset="https://static.rerun.io/clock/05e69dc20c9a28005f1ffe7f0f2ac9eeaa95ba3b/1200w.png">
|
|
<img src="https://static.rerun.io/clock/05e69dc20c9a28005f1ffe7f0f2ac9eeaa95ba3b/full.png" alt="Clock example screenshot">
|
|
</picture>
|
|
|
|
An example visualizing an analog clock with hour, minute and seconds hands using Rerun Arrow3D primitives.
|
|
|
|
|
|
To build it from a checkout of the repository (requires a Rust toolchain):
|
|
```bash
|
|
cmake .
|
|
cmake --build . --target example_clock
|
|
./examples/cpp/clock/example_clock
|
|
```
|