[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

@@ -8,6 +8,11 @@ import org.openrndr.extra.shadestyles.fills.SpreadMethod
import org.openrndr.extra.shadestyles.fills.gradients.gradient
import org.openrndr.math.Vector2
/**
* Demonstrates how to create a rainbow-like rotating `conic` gradient in `OKHSV` color space.
* The gradient consists of ten evenly spaced colors, achieved by shifting the hue of a base color.
* Since the conic gradient covers 360 degrees, changing the `spreadMethod` does not affect the result.
*/
fun main() {
application {
configure {