add demos to README.md
This commit is contained in:
@@ -8,6 +8,21 @@ Find usage examples [in the guide](https://guide.openrndr.org/drawing/text.html#
|
|||||||
_The code in `orx-text-writer` was previously found under `openrndr-draw` in the `openrndr` repository._
|
_The code in `orx-text-writer` was previously found under `openrndr-draw` in the `openrndr` repository._
|
||||||
<!-- __demos__ -->
|
<!-- __demos__ -->
|
||||||
## Demos
|
## Demos
|
||||||
|
### DemoGlyphOutput01
|
||||||
|
|
||||||
|
This demo implements a drawing program utilizing custom text rendering with a wave-like animation effect.
|
||||||
|
It allows for manipulating text position and scaling over time.
|
||||||
|
|
||||||
|
Key elements of the program:
|
||||||
|
- A centered rectangle on the drawing canvas.
|
||||||
|
- Text rendering with properties such as horizontal alignment, vertical alignment, and tracking,
|
||||||
|
dynamically changing over time.
|
||||||
|
- Custom text animation implementing wave-like movement and scaling.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
[source code](src/jvmDemo/kotlin/DemoGlyphOutput01.kt)
|
||||||
|
|
||||||
### DemoTextWriter01
|
### DemoTextWriter01
|
||||||
|
|
||||||
This demo features the drawing of a centered rectangle and the addition of styled text inside
|
This demo features the drawing of a centered rectangle and the addition of styled text inside
|
||||||
|
|||||||
Reference in New Issue
Block a user