From bb66d4cd29db43d1b3a0624082e31b06e0173ec3 Mon Sep 17 00:00:00 2001 From: OPENRNDR Actions Date: Thu, 30 Jun 2022 16:00:45 +0000 Subject: [PATCH] add demos to README.md --- orx-color/README.md | 76 ++++++++++++++++++++++++++++++- orx-compositor/README.md | 16 ++++++- orx-easing/README.md | 6 ++- orx-fx/README.md | 46 ++++++++++++++++++- orx-noise/README.md | 26 ++++++++++- orx-quadtree/README.md | 11 ++++- orx-shade-styles/README.md | 31 ++++++++++++- orx-shapes/README.md | 91 +++++++++++++++++++++++++++++++++++++- 8 files changed, 295 insertions(+), 8 deletions(-) diff --git a/orx-color/README.md b/orx-color/README.md index 68b3c0f0..2606ff4e 100644 --- a/orx-color/README.md +++ b/orx-color/README.md @@ -48,4 +48,78 @@ for (c in cs blend (width / 40)) { Two color spaces are added: `ColorHSLUVa` and `ColorHPLUVa`, they are an implementation of the colorspaces presented at [hsluv.org](http://www.hsluv.org) -## Demos \ No newline at end of file +## Demos +### DemoColorPlane01 +[source code](src/demo/kotlin/DemoColorPlane01.kt) + +![DemoColorPlane01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorPlane01Kt.png) + +### DemoColorPlane02 +[source code](src/demo/kotlin/DemoColorPlane02.kt) + +![DemoColorPlane02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorPlane02Kt.png) + +### DemoColorRange01 +[source code](src/demo/kotlin/DemoColorRange01.kt) + +![DemoColorRange01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorRange01Kt.png) + +### DemoColorRange02 +[source code](src/demo/kotlin/DemoColorRange02.kt) + +![DemoColorRange02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorRange02Kt.png) + +### DemoColorRange03 +[source code](src/demo/kotlin/DemoColorRange03.kt) + +![DemoColorRange03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorRange03Kt.png) + +### DemoColorRange04 +[source code](src/demo/kotlin/DemoColorRange04.kt) + +![DemoColorRange04Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorRange04Kt.png) + +### DemoFettePalette01 +[source code](src/demo/kotlin/DemoFettePalette01.kt) + +![DemoFettePalette01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoFettePalette01Kt.png) + +### DemoFettePalette02 +[source code](src/demo/kotlin/DemoFettePalette02.kt) + +![DemoFettePalette02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoFettePalette02Kt.png) + +### DemoHSLUV01 +[source code](src/demo/kotlin/DemoHSLUV01.kt) + +![DemoHSLUV01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHSLUV01Kt.png) + +### DemoHSLUV02 +[source code](src/demo/kotlin/DemoHSLUV02.kt) + +![DemoHSLUV02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHSLUV02Kt.png) + +### DemoHistogram01 +[source code](src/demo/kotlin/DemoHistogram01.kt) + +![DemoHistogram01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHistogram01Kt.png) + +### DemoHistogram02 +[source code](src/demo/kotlin/DemoHistogram02.kt) + +![DemoHistogram02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHistogram02Kt.png) + +### DemoHistogram03 +[source code](src/demo/kotlin/DemoHistogram03.kt) + +![DemoHistogram03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHistogram03Kt.png) + +### DemoOKHSV01 +[source code](src/demo/kotlin/DemoOKHSV01.kt) + +![DemoOKHSV01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoOKHSV01Kt.png) + +### DemoXSLUV01 +[source code](src/demo/kotlin/DemoXSLUV01.kt) + +![DemoXSLUV01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoXSLUV01Kt.png) diff --git a/orx-compositor/README.md b/orx-compositor/README.md index 408c4b33..a1844c5d 100644 --- a/orx-compositor/README.md +++ b/orx-compositor/README.md @@ -53,4 +53,18 @@ fun main() { } ``` -## Demos \ No newline at end of file +## Demos +### DemoCompositor01 +[source code](src/demo/kotlin/DemoCompositor01.kt) + +![DemoCompositor01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-compositor/images/DemoCompositor01Kt.png) + +### DemoCompositor02 +[source code](src/demo/kotlin/DemoCompositor02.kt) + +![DemoCompositor02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-compositor/images/DemoCompositor02Kt.png) + +### DemoUse01 +[source code](src/demo/kotlin/DemoUse01.kt) + +![DemoUse01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-compositor/images/DemoUse01Kt.png) diff --git a/orx-easing/README.md b/orx-easing/README.md index eb8c7699..72672aee 100644 --- a/orx-easing/README.md +++ b/orx-easing/README.md @@ -92,4 +92,8 @@ println(Easing.values().size) ``` -## Demos \ No newline at end of file +## Demos +### DemoEasings01 +[source code](src/demo/kotlin/DemoEasings01.kt) + +![DemoEasings01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-easing/images/DemoEasings01Kt.png) diff --git a/orx-fx/README.md b/orx-fx/README.md index 7c2c57f8..bdbea16e 100644 --- a/orx-fx/README.md +++ b/orx-fx/README.md @@ -114,4 +114,48 @@ All distortion effects are opacity preserving [DemoFluidDistort01Kt](src/demo/kotlin/DemoFluidDistort01Kt.kt ![DemoFluidDistort01Kt](https://github.com/openrndr/orx/blob/media/orx-fx/images/DemoFluidDistort01Kt.png -## Demos \ No newline at end of file +## Demos +### DemoBlur01 +[source code](src/demo/kotlin/DemoBlur01.kt) + +![DemoBlur01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoBlur01Kt.png) + +### DemoCannyEdgeDetector01 +[source code](src/demo/kotlin/DemoCannyEdgeDetector01.kt) + +![DemoCannyEdgeDetector01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoCannyEdgeDetector01Kt.png) + +### DemoColorDuotone01 +[source code](src/demo/kotlin/DemoColorDuotone01.kt) + +![DemoColorDuotone01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoColorDuotone01Kt.png) + +### DemoColorDuotoneGradient01 +[source code](src/demo/kotlin/DemoColorDuotoneGradient01.kt) + +![DemoColorDuotoneGradient01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoColorDuotoneGradient01Kt.png) + +### DemoColorPosterize01 +[source code](src/demo/kotlin/DemoColorPosterize01.kt) + +![DemoColorPosterize01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoColorPosterize01Kt.png) + +### DemoDistortLenses01 +[source code](src/demo/kotlin/DemoDistortLenses01.kt) + +![DemoDistortLenses01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoDistortLenses01Kt.png) + +### DemoDitherLumaHalftone01 +[source code](src/demo/kotlin/DemoDitherLumaHalftone01.kt) + +![DemoDitherLumaHalftone01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoDitherLumaHalftone01Kt.png) + +### DemoFluidDistort01 +[source code](src/demo/kotlin/DemoFluidDistort01.kt) + +![DemoFluidDistort01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoFluidDistort01Kt.png) + +### DemoOkLab01 +[source code](src/demo/kotlin/DemoOkLab01.kt) + +![DemoOkLab01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-fx/images/DemoOkLab01Kt.png) diff --git a/orx-noise/README.md b/orx-noise/README.md index 45b849ae..dc1faa0c 100644 --- a/orx-noise/README.md +++ b/orx-noise/README.md @@ -189,4 +189,28 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain) [DemoPoissonDiskSamplingKt](src/demo/kotlin/DemoPoissonDiskSamplingKt.kt ![DemoPoissonDiskSamplingKt](https://github.com/openrndr/orx/blob/media/orx-noise/images/DemoPoissonDiskSamplingKt.png -## Demos \ No newline at end of file +## Demos +### DemoFunctionalComposition01 +[source code](src/demo/kotlin/DemoFunctionalComposition01.kt) + +![DemoFunctionalComposition01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-noise/images/DemoFunctionalComposition01Kt.png) + +### DemoGradientPerturb2D +[source code](src/demo/kotlin/DemoGradientPerturb2D.kt) + +![DemoGradientPerturb2DKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-noise/images/DemoGradientPerturb2DKt.png) + +### DemoGradientPerturb3D +[source code](src/demo/kotlin/DemoGradientPerturb3D.kt) + +![DemoGradientPerturb3DKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-noise/images/DemoGradientPerturb3DKt.png) + +### DemoScatter01 +[source code](src/demo/kotlin/DemoScatter01.kt) + +![DemoScatter01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-noise/images/DemoScatter01Kt.png) + +### DemoSimplex01 +[source code](src/demo/kotlin/DemoSimplex01.kt) + +![DemoSimplex01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-noise/images/DemoSimplex01Kt.png) diff --git a/orx-quadtree/README.md b/orx-quadtree/README.md index 3dc647db..52c8fda6 100644 --- a/orx-quadtree/README.md +++ b/orx-quadtree/README.md @@ -21,4 +21,13 @@ val nearestQuery = quadTree.nearest(points[4], 20.0) Ricardo Matias / [@ricardomatias](https://github.com/ricardomatias) -## Demos \ No newline at end of file +## Demos +### DemoQuadTree01 +[source code](src/demo/kotlin/DemoQuadTree01.kt) + +![DemoQuadTree01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-quadtree/images/DemoQuadTree01Kt.png) + +### DemoQuadTree02 +[source code](src/demo/kotlin/DemoQuadTree02.kt) + +![DemoQuadTree02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-quadtree/images/DemoQuadTree02Kt.png) diff --git a/orx-shade-styles/README.md b/orx-shade-styles/README.md index 568515a7..8dd41ab1 100644 --- a/orx-shade-styles/README.md +++ b/orx-shade-styles/README.md @@ -7,4 +7,33 @@ Collection of shader based fills and strokes. Currently includes 4 types of grad [DemoRadialGradient01Kt](src/demo/kotlin/DemoRadialGradient01Kt.kt ![DemoRadialGradient01Kt](https://github.com/openrndr/orx/blob/media/orx-shade-styles/images/DemoRadialGradient01Kt.png -## Demos \ No newline at end of file +## Demos +### DemoAllGradients01 +[source code](src/demo/kotlin/DemoAllGradients01.kt) + +![DemoAllGradients01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shade-styles/images/DemoAllGradients01Kt.png) + +### DemoLinearGradient +[source code](src/demo/kotlin/DemoLinearGradient.kt) + +![DemoLinearGradientKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shade-styles/images/DemoLinearGradientKt.png) + +### DemoNPointGradient01 +[source code](src/demo/kotlin/DemoNPointGradient01.kt) + +![DemoNPointGradient01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shade-styles/images/DemoNPointGradient01Kt.png) + +### DemoNPointLinearGradient01 +[source code](src/demo/kotlin/DemoNPointLinearGradient01.kt) + +![DemoNPointLinearGradient01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shade-styles/images/DemoNPointLinearGradient01Kt.png) + +### DemoNPointRadialGradient01 +[source code](src/demo/kotlin/DemoNPointRadialGradient01.kt) + +![DemoNPointRadialGradient01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shade-styles/images/DemoNPointRadialGradient01Kt.png) + +### DemoRadialGradient01 +[source code](src/demo/kotlin/DemoRadialGradient01.kt) + +![DemoRadialGradient01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shade-styles/images/DemoRadialGradient01Kt.png) diff --git a/orx-shapes/README.md b/orx-shapes/README.md index 4f8b2727..c3fb27e8 100644 --- a/orx-shapes/README.md +++ b/orx-shapes/README.md @@ -3,4 +3,93 @@ Collection of 2D shape generators (polygon, star, rounded rectangle) and shape modifiers. -## Demos \ No newline at end of file +## Demos +### DemoAlphaShape +[source code](src/demo/kotlin/DemoAlphaShape.kt) + +![DemoAlphaShapeKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoAlphaShapeKt.png) + +### DemoBezierPatch01 +[source code](src/demo/kotlin/DemoBezierPatch01.kt) + +![DemoBezierPatch01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch01Kt.png) + +### DemoBezierPatch02 +[source code](src/demo/kotlin/DemoBezierPatch02.kt) + +![DemoBezierPatch02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch02Kt.png) + +### DemoBezierPatch03 +[source code](src/demo/kotlin/DemoBezierPatch03.kt) + +![DemoBezierPatch03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch03Kt.png) + +### DemoBezierPatch04 +[source code](src/demo/kotlin/DemoBezierPatch04.kt) + +![DemoBezierPatch04Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch04Kt.png) + +### DemoBezierPatch05 +[source code](src/demo/kotlin/DemoBezierPatch05.kt) + +![DemoBezierPatch05Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch05Kt.png) + +### DemoBezierPatchDrawer01 +[source code](src/demo/kotlin/DemoBezierPatchDrawer01.kt) + +![DemoBezierPatchDrawer01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatchDrawer01Kt.png) + +### DemoBezierPatchDrawer02 +[source code](src/demo/kotlin/DemoBezierPatchDrawer02.kt) + +![DemoBezierPatchDrawer02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatchDrawer02Kt.png) + +### DemoBezierPatchDrawer03 +[source code](src/demo/kotlin/DemoBezierPatchDrawer03.kt) + +![DemoBezierPatchDrawer03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatchDrawer03Kt.png) + +### DemoBezierPatches01 +[source code](src/demo/kotlin/DemoBezierPatches01.kt) + +![DemoBezierPatches01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatches01Kt.png) + +### DemoHobbyCurve01 +[source code](src/demo/kotlin/DemoHobbyCurve01.kt) + +![DemoHobbyCurve01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoHobbyCurve01Kt.png) + +### DemoHobbyCurve02 +[source code](src/demo/kotlin/DemoHobbyCurve02.kt) + +![DemoHobbyCurve02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoHobbyCurve02Kt.png) + +### DemoRectangleGrid01 +[source code](src/demo/kotlin/DemoRectangleGrid01.kt) + +![DemoRectangleGrid01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRectangleGrid01Kt.png) + +### DemoRectangleGrid02 +[source code](src/demo/kotlin/DemoRectangleGrid02.kt) + +![DemoRectangleGrid02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRectangleGrid02Kt.png) + +### DemoRegularPolygon +[source code](src/demo/kotlin/DemoRegularPolygon.kt) + +![DemoRegularPolygonKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRegularPolygonKt.png) + +### DemoRegularStar01 +[source code](src/demo/kotlin/DemoRegularStar01.kt) + +![DemoRegularStar01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRegularStar01Kt.png) + +### DemoRegularStar02 +[source code](src/demo/kotlin/DemoRegularStar02.kt) + +![DemoRegularStar02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRegularStar02Kt.png) + +### DemoRoundedRectangle +[source code](src/demo/kotlin/DemoRoundedRectangle.kt) + +![DemoRoundedRectangleKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRoundedRectangleKt.png)