[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

@@ -4,6 +4,14 @@ import org.openrndr.draw.loadImage
import org.openrndr.extra.fx.blur.ApproximateGaussianBlur
import org.openrndr.extra.imageFit.imageFit
/**
* Demonstrates how to use the [ApproximateGaussianBlur] effect to blur
* a `colorBuffer`, in this case, an image loaded from disk.
*
* Notice the use of `createEquivalent()`, which creates a new `colorBuffer`
* with the same size and properties as a source `colorBuffer`.
*
*/
fun main() = application {
configure {
width = 720