[orx-shade-styles] Write comments on demos

This commit is contained in:
Abe Pazos
2025-09-20 19:07:38 +02:00
parent ec9ec947a6
commit ec4032c452
29 changed files with 298 additions and 61 deletions

View File

@@ -10,6 +10,15 @@ import kotlin.math.PI
import kotlin.math.cos
import kotlin.math.sin
/**
* Demonstrates how to animate the `radiusX` and `radiusY` elliptic gradient arguments separately.
* They are animated in a circular fashion, making the ellipse transition between a thin vertical shape,
* a round shape, and a thin horizontal shape.
*
* The `SpreadMethod.REPEAT` setting makes the gradient cover the available space repeating the gradient
* as many times as needed.
*
*/
fun main() = application {
configure {
width = 720