add demos to README.md

This commit is contained in:
Abe Pazos
2025-08-27 19:48:23 +00:00
parent b231b415f1
commit 64493302c7
35 changed files with 283 additions and 0 deletions

View File

@@ -196,6 +196,7 @@ shaping `curve` within this range:
### DemoApproximateGaussianBlur01
![DemoApproximateGaussianBlur01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoApproximateGaussianBlur01Kt.png)
[source code](src/jvmDemo/kotlin/DemoApproximateGaussianBlur01.kt)
@@ -203,6 +204,7 @@ shaping `curve` within this range:
### DemoBlur01
![DemoBlur01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoBlur01Kt.png)
[source code](src/jvmDemo/kotlin/DemoBlur01.kt)
@@ -210,6 +212,7 @@ shaping `curve` within this range:
### DemoCannyEdgeDetector01
![DemoCannyEdgeDetector01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoCannyEdgeDetector01Kt.png)
[source code](src/jvmDemo/kotlin/DemoCannyEdgeDetector01.kt)
@@ -217,6 +220,7 @@ shaping `curve` within this range:
### DemoColorDuotone01
![DemoColorDuotone01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoColorDuotone01Kt.png)
[source code](src/jvmDemo/kotlin/DemoColorDuotone01.kt)
@@ -224,6 +228,7 @@ shaping `curve` within this range:
### DemoColorDuotoneGradient01
![DemoColorDuotoneGradient01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoColorDuotoneGradient01Kt.png)
[source code](src/jvmDemo/kotlin/DemoColorDuotoneGradient01.kt)
@@ -231,6 +236,7 @@ shaping `curve` within this range:
### DemoColormapGrayscale
![DemoColormapGrayscaleKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoColormapGrayscaleKt.png)
[source code](src/jvmDemo/kotlin/DemoColormapGrayscale.kt)
@@ -238,6 +244,7 @@ shaping `curve` within this range:
### DemoColormapSpectralZucconi
![DemoColormapSpectralZucconiKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoColormapSpectralZucconiKt.png)
[source code](src/jvmDemo/kotlin/DemoColormapSpectralZucconi.kt)
@@ -245,6 +252,7 @@ shaping `curve` within this range:
### DemoColormapTurbo
![DemoColormapTurboKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoColormapTurboKt.png)
[source code](src/jvmDemo/kotlin/DemoColormapTurbo.kt)
@@ -252,6 +260,7 @@ shaping `curve` within this range:
### DemoColorPosterize01
![DemoColorPosterize01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoColorPosterize01Kt.png)
[source code](src/jvmDemo/kotlin/DemoColorPosterize01.kt)
@@ -259,6 +268,7 @@ shaping `curve` within this range:
### DemoCompositeFilter01
![DemoCompositeFilter01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoCompositeFilter01Kt.png)
[source code](src/jvmDemo/kotlin/DemoCompositeFilter01.kt)
@@ -267,6 +277,7 @@ shaping `curve` within this range:
Demonstrate the Contour filter
@author Edwin Jakobs
![DemoContour01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoContour01Kt.png)
[source code](src/jvmDemo/kotlin/DemoContour01.kt)
@@ -284,6 +295,7 @@ so sampling can happen from every direction.
Every 60 animation frames the `centerWindow` property is toggled
between true and false to demonstrate how the result changes.
![DemoDirectionalBlur01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoDirectionalBlur01Kt.png)
[source code](src/jvmDemo/kotlin/DemoDirectionalBlur01.kt)
@@ -297,6 +309,7 @@ pixel by pixel. A grid of circles is drawn, each circle with a
color based on simplex noise. The R and G channels of the colors
control the direction of the sampling. By animating the sampling
distance the result oscillates between no-effect and a noticeable one.
![DemoDirectionalDisplace01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoDirectionalDisplace01Kt.png)
[source code](src/jvmDemo/kotlin/DemoDirectionalDisplace01.kt)
@@ -309,6 +322,7 @@ The program draws 12 overlapping translucent circles on the
`direction` color buffer to produce new color combinations
on the overlapping areas. Those colors specify where the
`DirectionalDisplace` effect will sample pixels from.
![DemoDirectionalDisplace02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoDirectionalDisplace02Kt.png)
[source code](src/jvmDemo/kotlin/DemoDirectionalDisplace02.kt)
@@ -316,6 +330,7 @@ on the overlapping areas. Those colors specify where the
### DemoDistortLenses01
![DemoDistortLenses01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoDistortLenses01Kt.png)
[source code](src/jvmDemo/kotlin/DemoDistortLenses01.kt)
@@ -323,6 +338,7 @@ on the overlapping areas. Those colors specify where the
### DemoDitherLumaHalftone01
![DemoDitherLumaHalftone01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoDitherLumaHalftone01Kt.png)
[source code](src/jvmDemo/kotlin/DemoDitherLumaHalftone01.kt)
@@ -330,6 +346,7 @@ on the overlapping areas. Those colors specify where the
### DemoFluidDistort01
![DemoFluidDistort01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoFluidDistort01Kt.png)
[source code](src/jvmDemo/kotlin/DemoFluidDistort01.kt)
@@ -338,6 +355,7 @@ on the overlapping areas. Those colors specify where the
This demonstrates converting a [ColorBuffer] from and to (OK)LAB color space using the [RgbToOkLab] and [OkLabToRgb]
filters. The (OK)Lab representation is signed and requires a floating point representation.
![DemoOkLab01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoOkLab01Kt.png)
[source code](src/jvmDemo/kotlin/DemoOkLab01.kt)
@@ -345,6 +363,7 @@ filters. The (OK)Lab representation is signed and requires a floating point repr
### DemoPost01
![DemoPost01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoPost01Kt.png)
[source code](src/jvmDemo/kotlin/DemoPost01.kt)
@@ -352,6 +371,7 @@ filters. The (OK)Lab representation is signed and requires a floating point repr
### DemoSpectralBlend01
![DemoSpectralBlend01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoSpectralBlend01Kt.png)
[source code](src/jvmDemo/kotlin/DemoSpectralBlend01.kt)