From 2545575d4a142f95488a0832060fe0fc057b93d5 Mon Sep 17 00:00:00 2001 From: OPENRNDR Actions Date: Wed, 19 Jan 2022 14:29:43 +0000 Subject: [PATCH] add demos to README.md --- orx-color/README.md | 90 ++++++++++++++++---------------- orx-compositor/README.md | 10 ++-- orx-noise/README.md | 20 +++---- orx-quadtree/README.md | 10 ++-- orx-shade-styles/README.md | 30 +++++------ orx-shapes/README.md | 104 ++++++++++++++++++------------------- 6 files changed, 132 insertions(+), 132 deletions(-) diff --git a/orx-color/README.md b/orx-color/README.md index 293c56a8..2606ff4e 100644 --- a/orx-color/README.md +++ b/orx-color/README.md @@ -49,21 +49,41 @@ 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 -### DemoHSLUV02 -[source code](src/demo/kotlin/DemoHSLUV02.kt) +### DemoColorPlane01 +[source code](src/demo/kotlin/DemoColorPlane01.kt) -![DemoHSLUV02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHSLUV02Kt.png) - -### DemoHistogram03 -[source code](src/demo/kotlin/DemoHistogram03.kt) - -![DemoHistogram03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHistogram03Kt.png) +![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) @@ -74,52 +94,32 @@ Two color spaces are added: `ColorHSLUVa` and `ColorHPLUVa`, they are an impleme ![DemoHSLUV01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHSLUV01Kt.png) -### DemoColorRange03 -[source code](src/demo/kotlin/DemoColorRange03.kt) +### DemoHSLUV02 +[source code](src/demo/kotlin/DemoHSLUV02.kt) -![DemoColorRange03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorRange03Kt.png) - -### DemoHistogram02 -[source code](src/demo/kotlin/DemoHistogram02.kt) - -![DemoHistogram02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHistogram02Kt.png) - -### DemoFettePalette01 -[source code](src/demo/kotlin/DemoFettePalette01.kt) - -![DemoFettePalette01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoFettePalette01Kt.png) - -### DemoXSLUV01 -[source code](src/demo/kotlin/DemoXSLUV01.kt) - -![DemoXSLUV01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoXSLUV01Kt.png) - -### DemoColorRange04 -[source code](src/demo/kotlin/DemoColorRange04.kt) - -![DemoColorRange04Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorRange04Kt.png) - -### DemoOKHSV01 -[source code](src/demo/kotlin/DemoOKHSV01.kt) - -![DemoOKHSV01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoOKHSV01Kt.png) +![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) -### DemoColorPlane01 -[source code](src/demo/kotlin/DemoColorPlane01.kt) +### DemoHistogram02 +[source code](src/demo/kotlin/DemoHistogram02.kt) -![DemoColorPlane01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorPlane01Kt.png) +![DemoHistogram02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHistogram02Kt.png) -### DemoColorRange02 -[source code](src/demo/kotlin/DemoColorRange02.kt) +### DemoHistogram03 +[source code](src/demo/kotlin/DemoHistogram03.kt) -![DemoColorRange02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorRange02Kt.png) +![DemoHistogram03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoHistogram03Kt.png) -### DemoColorRange01 -[source code](src/demo/kotlin/DemoColorRange01.kt) +### DemoOKHSV01 +[source code](src/demo/kotlin/DemoOKHSV01.kt) -![DemoColorRange01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-color/images/DemoColorRange01Kt.png) +![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 6fe967af..ae44ba7d 100644 --- a/orx-compositor/README.md +++ b/orx-compositor/README.md @@ -54,12 +54,12 @@ fun main() { ``` ## Demos -### DemoUse01 -[source code](src/demo/kotlin/DemoUse01.kt) - -![DemoUse01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-compositor/images/DemoUse01Kt.png) - ### DemoCompositor01 [source code](src/demo/kotlin/DemoCompositor01.kt) ![DemoCompositor01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-compositor/images/DemoCompositor01Kt.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-noise/README.md b/orx-noise/README.md index 1e6ffdaa..dc1faa0c 100644 --- a/orx-noise/README.md +++ b/orx-noise/README.md @@ -190,16 +190,6 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain) ![DemoPoissonDiskSamplingKt](https://github.com/openrndr/orx/blob/media/orx-noise/images/DemoPoissonDiskSamplingKt.png ## Demos -### DemoSimplex01 -[source code](src/demo/kotlin/DemoSimplex01.kt) - -![DemoSimplex01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-noise/images/DemoSimplex01Kt.png) - -### DemoScatter01 -[source code](src/demo/kotlin/DemoScatter01.kt) - -![DemoScatter01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-noise/images/DemoScatter01Kt.png) - ### DemoFunctionalComposition01 [source code](src/demo/kotlin/DemoFunctionalComposition01.kt) @@ -214,3 +204,13 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain) [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 b9510481..52c8fda6 100644 --- a/orx-quadtree/README.md +++ b/orx-quadtree/README.md @@ -22,12 +22,12 @@ val nearestQuery = quadTree.nearest(points[4], 20.0) Ricardo Matias / [@ricardomatias](https://github.com/ricardomatias) ## Demos -### DemoQuadTree02 -[source code](src/demo/kotlin/DemoQuadTree02.kt) - -![DemoQuadTree02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-quadtree/images/DemoQuadTree02Kt.png) - ### 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 5acb62e3..8dd41ab1 100644 --- a/orx-shade-styles/README.md +++ b/orx-shade-styles/README.md @@ -8,21 +8,6 @@ Collection of shader based fills and strokes. Currently includes 4 types of grad ![DemoRadialGradient01Kt](https://github.com/openrndr/orx/blob/media/orx-shade-styles/images/DemoRadialGradient01Kt.png ## Demos -### DemoRadialGradient01 -[source code](src/demo/kotlin/DemoRadialGradient01.kt) - -![DemoRadialGradient01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shade-styles/images/DemoRadialGradient01Kt.png) - -### DemoNPointRadialGradient01 -[source code](src/demo/kotlin/DemoNPointRadialGradient01.kt) - -![DemoNPointRadialGradient01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shade-styles/images/DemoNPointRadialGradient01Kt.png) - -### DemoNPointLinearGradient01 -[source code](src/demo/kotlin/DemoNPointLinearGradient01.kt) - -![DemoNPointLinearGradient01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shade-styles/images/DemoNPointLinearGradient01Kt.png) - ### DemoAllGradients01 [source code](src/demo/kotlin/DemoAllGradients01.kt) @@ -37,3 +22,18 @@ Collection of shader based fills and strokes. Currently includes 4 types of grad [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 c84e71b2..16061c1b 100644 --- a/orx-shapes/README.md +++ b/orx-shapes/README.md @@ -4,65 +4,45 @@ Collection of 2D shape generators (polygon, star, rounded rectangle) and shape m ## Demos -### DemoBezierPatchDrawer02 -[source code](src/demo/kotlin/DemoBezierPatchDrawer02.kt) +### DemoAlphaShape +[source code](src/demo/kotlin/DemoAlphaShape.kt) -![DemoBezierPatchDrawer02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatchDrawer02Kt.png) - -### DemoRegularPolygon -[source code](src/demo/kotlin/DemoRegularPolygon.kt) - -![DemoRegularPolygonKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRegularPolygonKt.png) - -### DemoBezierPatch03 -[source code](src/demo/kotlin/DemoBezierPatch03.kt) - -![DemoBezierPatch03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch03Kt.png) - -### DemoRegularStar02 -[source code](src/demo/kotlin/DemoRegularStar02.kt) - -![DemoRegularStar02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRegularStar02Kt.png) - -### DemoRegularStar01 -[source code](src/demo/kotlin/DemoRegularStar01.kt) - -![DemoRegularStar01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRegularStar01Kt.png) - -### DemoBezierPatch05 -[source code](src/demo/kotlin/DemoBezierPatch05.kt) - -![DemoBezierPatch05Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch05Kt.png) +![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) -### DemoHobbyCurve02 -[source code](src/demo/kotlin/DemoHobbyCurve02.kt) - -![DemoHobbyCurve02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoHobbyCurve02Kt.png) - -### DemoRoundedRectangle -[source code](src/demo/kotlin/DemoRoundedRectangle.kt) - -![DemoRoundedRectangleKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRoundedRectangleKt.png) - -### DemoAlphaShape -[source code](src/demo/kotlin/DemoAlphaShape.kt) - -![DemoAlphaShapeKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoAlphaShapeKt.png) - ### DemoBezierPatch02 [source code](src/demo/kotlin/DemoBezierPatch02.kt) ![DemoBezierPatch02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch02Kt.png) -### DemoHobbyCurve01 -[source code](src/demo/kotlin/DemoHobbyCurve01.kt) +### DemoBezierPatch03 +[source code](src/demo/kotlin/DemoBezierPatch03.kt) -![DemoHobbyCurve01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoHobbyCurve01Kt.png) +![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) @@ -74,17 +54,37 @@ Collection of 2D shape generators (polygon, star, rounded rectangle) and shape m ![DemoBezierPatches01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatches01Kt.png) -### DemoBezierPatchDrawer01 -[source code](src/demo/kotlin/DemoBezierPatchDrawer01.kt) +### DemoHobbyCurve01 +[source code](src/demo/kotlin/DemoHobbyCurve01.kt) -![DemoBezierPatchDrawer01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatchDrawer01Kt.png) +![DemoHobbyCurve01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoHobbyCurve01Kt.png) -### DemoBezierPatch04 -[source code](src/demo/kotlin/DemoBezierPatch04.kt) +### DemoHobbyCurve02 +[source code](src/demo/kotlin/DemoHobbyCurve02.kt) -![DemoBezierPatch04Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch04Kt.png) +![DemoHobbyCurve02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoHobbyCurve02Kt.png) ### DemoRectangleGrid [source code](src/demo/kotlin/DemoRectangleGrid.kt) ![DemoRectangleGridKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRectangleGridKt.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)