Update the README of new demos

This commit is contained in:
Olivier Goffart 2024-09-24 16:51:04 +02:00
parent a6ca636d07
commit d0896e6360
2 changed files with 6 additions and 3 deletions

View file

@ -2,10 +2,9 @@
[![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
Work in progress Dial example. Uses Math.atan2 to calculate the angle and let the user rotate a dial.
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)

View file

@ -1,5 +1,9 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
[![Sprite Sheet Screenshot](https://github.com/user-attachments/assets/51f778a4-f7ab-492c-adf6-a33fa1fca6c7)
![Sprite Sheet Screenshot](https://github.com/user-attachments/assets/51f778a4-f7ab-492c-adf6-a33fa1fca6c7)
# Sprite sheet demo
Demonstrate how to use sprites from an image to make an animated image
[Online Preview](https://slint.dev/snapshots/master/editor/preview.html?load_url=https://raw.githubusercontent.com/slint-ui/slint/master/examples/sprite-sheet/demo.slint)
[Online code editor](https://slint.dev/snapshots/master/editor/index.html?load_url=https://raw.githubusercontent.com/slint-ui/slint/master/examples/sprite-sheet/demo.slint)