add demos to README.md

This commit is contained in:
OPENRNDR Actions
2022-01-19 14:29:43 +00:00
parent 2978d235cc
commit 2545575d4a
6 changed files with 132 additions and 132 deletions

View File

@@ -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__ -->
## 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)

View File

@@ -54,12 +54,12 @@ fun main() {
```
<!-- __demos__ -->
## 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)

View File

@@ -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__ -->
## 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)

View File

@@ -22,12 +22,12 @@ val nearestQuery = quadTree.nearest(points[4], 20.0)
Ricardo Matias / [@ricardomatias](https://github.com/ricardomatias)
<!-- __demos__ -->
## 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)

View File

@@ -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__ -->
## 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)

View File

@@ -4,65 +4,45 @@ Collection of 2D shape generators (polygon, star, rounded rectangle) and shape m
<!-- __demos__ -->
## 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)