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

@@ -5,6 +5,12 @@ Writing texts on contours.
<!-- __demos__ -->
## Demos
### DemoTextOnContour01
[source code](src/jvmDemo/kotlin/DemoTextOnContour01.kt)
Demo Functionality includes:
- Loading and applying a specific font (`IBMPlexMono-Regular`) with a size of 32.0.
- Creating a circular contour at the center of the screen with a radius of 200.0.
- Rendering text along the rectified circle's contour.
- Offsetting text positions, enabling repeated text rendering along the same contour.
![DemoTextOnContour01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-text-on-contour/images/DemoTextOnContour01Kt.png)
[source code](src/jvmDemo/kotlin/DemoTextOnContour01.kt)