add demos to README.md
This commit is contained in:
@@ -48,78 +48,4 @@ 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)
|
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__ -->
|
||||||
## Demos
|
## Demos
|
||||||
### DemoColorPlane01
|
|
||||||
[source code](src/demo/kotlin/DemoColorPlane01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoColorPlane02
|
|
||||||
[source code](src/demo/kotlin/DemoColorPlane02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoColorRange01
|
|
||||||
[source code](src/demo/kotlin/DemoColorRange01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoColorRange02
|
|
||||||
[source code](src/demo/kotlin/DemoColorRange02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoColorRange03
|
|
||||||
[source code](src/demo/kotlin/DemoColorRange03.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoColorRange04
|
|
||||||
[source code](src/demo/kotlin/DemoColorRange04.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoFettePalette01
|
|
||||||
[source code](src/demo/kotlin/DemoFettePalette01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoFettePalette02
|
|
||||||
[source code](src/demo/kotlin/DemoFettePalette02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoHSLUV01
|
|
||||||
[source code](src/demo/kotlin/DemoHSLUV01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoHSLUV02
|
|
||||||
[source code](src/demo/kotlin/DemoHSLUV02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoHistogram01
|
|
||||||
[source code](src/demo/kotlin/DemoHistogram01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoHistogram02
|
|
||||||
[source code](src/demo/kotlin/DemoHistogram02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoHistogram03
|
|
||||||
[source code](src/demo/kotlin/DemoHistogram03.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoOKHSV01
|
|
||||||
[source code](src/demo/kotlin/DemoOKHSV01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoXSLUV01
|
|
||||||
[source code](src/demo/kotlin/DemoXSLUV01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
@@ -53,18 +53,4 @@ fun main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
<!-- __demos__ -->
|
<!-- __demos__ -->
|
||||||
## Demos
|
## Demos
|
||||||
### DemoCompositor01
|
|
||||||
[source code](src/demo/kotlin/DemoCompositor01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoCompositor02
|
|
||||||
[source code](src/demo/kotlin/DemoCompositor02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoUse01
|
|
||||||
[source code](src/demo/kotlin/DemoUse01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
@@ -92,8 +92,4 @@ println(Easing.values().size)
|
|||||||
```
|
```
|
||||||
|
|
||||||
<!-- __demos__ -->
|
<!-- __demos__ -->
|
||||||
## Demos
|
## Demos
|
||||||
### DemoEasings01
|
|
||||||
[source code](src/demo/kotlin/DemoEasings01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
@@ -114,48 +114,4 @@ All distortion effects are opacity preserving
|
|||||||
[DemoFluidDistort01Kt](src/demo/kotlin/DemoFluidDistort01Kt.kt
|
[DemoFluidDistort01Kt](src/demo/kotlin/DemoFluidDistort01Kt.kt
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoCannyEdgeDetector01
|
|
||||||
[source code](src/demo/kotlin/DemoCannyEdgeDetector01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoColorDuotone01
|
|
||||||
[source code](src/demo/kotlin/DemoColorDuotone01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoColorDuotoneGradient01
|
|
||||||
[source code](src/demo/kotlin/DemoColorDuotoneGradient01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoColorPosterize01
|
|
||||||
[source code](src/demo/kotlin/DemoColorPosterize01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoDistortLenses01
|
|
||||||
[source code](src/demo/kotlin/DemoDistortLenses01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoDitherLumaHalftone01
|
|
||||||
[source code](src/demo/kotlin/DemoDitherLumaHalftone01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoFluidDistort01
|
|
||||||
[source code](src/demo/kotlin/DemoFluidDistort01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoOkLab01
|
|
||||||
[source code](src/demo/kotlin/DemoOkLab01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
@@ -189,28 +189,4 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
|||||||
[DemoPoissonDiskSamplingKt](src/demo/kotlin/DemoPoissonDiskSamplingKt.kt
|
[DemoPoissonDiskSamplingKt](src/demo/kotlin/DemoPoissonDiskSamplingKt.kt
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoGradientPerturb2D
|
|
||||||
[source code](src/demo/kotlin/DemoGradientPerturb2D.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoGradientPerturb3D
|
|
||||||
[source code](src/demo/kotlin/DemoGradientPerturb3D.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoScatter01
|
|
||||||
[source code](src/demo/kotlin/DemoScatter01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoSimplex01
|
|
||||||
[source code](src/demo/kotlin/DemoSimplex01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
@@ -21,13 +21,4 @@ val nearestQuery = quadTree.nearest(points[4], 20.0)
|
|||||||
|
|
||||||
Ricardo Matias / [@ricardomatias](https://github.com/ricardomatias)
|
Ricardo Matias / [@ricardomatias](https://github.com/ricardomatias)
|
||||||
<!-- __demos__ -->
|
<!-- __demos__ -->
|
||||||
## Demos
|
## Demos
|
||||||
### DemoQuadTree01
|
|
||||||
[source code](src/demo/kotlin/DemoQuadTree01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoQuadTree02
|
|
||||||
[source code](src/demo/kotlin/DemoQuadTree02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
@@ -7,33 +7,4 @@ Collection of shader based fills and strokes. Currently includes 4 types of grad
|
|||||||
[DemoRadialGradient01Kt](src/demo/kotlin/DemoRadialGradient01Kt.kt
|
[DemoRadialGradient01Kt](src/demo/kotlin/DemoRadialGradient01Kt.kt
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoLinearGradient
|
|
||||||
[source code](src/demo/kotlin/DemoLinearGradient.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoNPointGradient01
|
|
||||||
[source code](src/demo/kotlin/DemoNPointGradient01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoNPointLinearGradient01
|
|
||||||
[source code](src/demo/kotlin/DemoNPointLinearGradient01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoNPointRadialGradient01
|
|
||||||
[source code](src/demo/kotlin/DemoNPointRadialGradient01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoRadialGradient01
|
|
||||||
[source code](src/demo/kotlin/DemoRadialGradient01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
@@ -3,93 +3,4 @@
|
|||||||
Collection of 2D shape generators (polygon, star, rounded rectangle) and shape modifiers.
|
Collection of 2D shape generators (polygon, star, rounded rectangle) and shape modifiers.
|
||||||
|
|
||||||
<!-- __demos__ -->
|
<!-- __demos__ -->
|
||||||
## Demos
|
## Demos
|
||||||
### DemoAlphaShape
|
|
||||||
[source code](src/demo/kotlin/DemoAlphaShape.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoBezierPatch01
|
|
||||||
[source code](src/demo/kotlin/DemoBezierPatch01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoBezierPatch02
|
|
||||||
[source code](src/demo/kotlin/DemoBezierPatch02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoBezierPatch03
|
|
||||||
[source code](src/demo/kotlin/DemoBezierPatch03.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoBezierPatch04
|
|
||||||
[source code](src/demo/kotlin/DemoBezierPatch04.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoBezierPatch05
|
|
||||||
[source code](src/demo/kotlin/DemoBezierPatch05.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoBezierPatchDrawer01
|
|
||||||
[source code](src/demo/kotlin/DemoBezierPatchDrawer01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoBezierPatchDrawer02
|
|
||||||
[source code](src/demo/kotlin/DemoBezierPatchDrawer02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoBezierPatchDrawer03
|
|
||||||
[source code](src/demo/kotlin/DemoBezierPatchDrawer03.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoBezierPatches01
|
|
||||||
[source code](src/demo/kotlin/DemoBezierPatches01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoHobbyCurve01
|
|
||||||
[source code](src/demo/kotlin/DemoHobbyCurve01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoHobbyCurve02
|
|
||||||
[source code](src/demo/kotlin/DemoHobbyCurve02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoRectangleGrid01
|
|
||||||
[source code](src/demo/kotlin/DemoRectangleGrid01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoRectangleGrid02
|
|
||||||
[source code](src/demo/kotlin/DemoRectangleGrid02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoRegularPolygon
|
|
||||||
[source code](src/demo/kotlin/DemoRegularPolygon.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoRegularStar01
|
|
||||||
[source code](src/demo/kotlin/DemoRegularStar01.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoRegularStar02
|
|
||||||
[source code](src/demo/kotlin/DemoRegularStar02.kt)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### DemoRoundedRectangle
|
|
||||||
[source code](src/demo/kotlin/DemoRoundedRectangle.kt)
|
|
||||||
|
|
||||||

|
|
||||||
Reference in New Issue
Block a user