<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
[![Dial Demo Video](https://github.com/user-attachments/assets/f9a4835d-5567-4fc2-bd4d-30b2e979f491)](https://github.com/user-attachments/assets/83fb39b3-a26e-4878-ba92-b27b4c3beb36)


# Slint dial example

Dial example. Uses Math.atan2 to calculate the angle and let the user rotate a dial.

[Online Preview](https://slint.dev/snapshots/master/editor/preview.html?load_url=https://raw.githubusercontent.com/slint-ui/slint/master/examples/dial/dial.slint)
[Online code editor](https://slint.dev/snapshots/master/editor/index.html?load_url=https://raw.githubusercontent.com/slint-ui/slint/master/examples/dial/dial.slint)

# Planned changes

- [ ] Lock the dial so it cannot be rotated between the blank start and end angles.
- [ ] Update the graphics slightly. They are 10 years old and would benefit from a small polish.



