[orx-fx] Add comments to demos

This commit is contained in:
Abe Pazos
2025-09-23 19:20:42 +02:00
parent 857f3458e3
commit fd022e9d0e
16 changed files with 203 additions and 70 deletions

View File

@@ -3,6 +3,12 @@ import org.openrndr.draw.createEquivalent
import org.openrndr.draw.loadImage
import org.openrndr.extra.fx.dither.LumaHalftone
/**
* Demonstrates the [LumaHalftone] effect and moste of its parameters.
* The `invert` parameter toggles between true and false once per second.
* The `phase0` and `phase1` parameters depend on `seconds`, which makes
* the pattern wobble slowly.
*/
fun main() = application {
program {
val image = loadImage("demo-data/images/image-001.png")