add demos to README.md

This commit is contained in:
Abe Pazos
2025-08-27 18:32:18 +00:00
parent 1489b503d2
commit 700b666e5c
35 changed files with 1430 additions and 356 deletions

View File

@@ -36,16 +36,22 @@ Note that drawing inside the `repeat` action has no effect. Have a look at the d
<!-- __demos__ -->
## Demos
### DemoRepeat01
[source code](src/demo/kotlin/DemoRepeat01.kt)
![DemoRepeat01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-timer/images/DemoRepeat01Kt.png)
### DemoRepeat02
[source code](src/demo/kotlin/DemoRepeat02.kt)
[source code](src/demo/kotlin/DemoRepeat01.kt)
### DemoRepeat02
This demonstrates how to combine `repeat {}` with a postponed event to trigger drawing
![DemoRepeat02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-timer/images/DemoRepeat02Kt.png)
[source code](src/demo/kotlin/DemoRepeat02.kt)
### DemoTimeOut01
[source code](src/demo/kotlin/DemoTimeOut01.kt)
![DemoTimeOut01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-timer/images/DemoTimeOut01Kt.png)
[source code](src/demo/kotlin/DemoTimeOut01.kt)