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

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

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

|
||||

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

|
||||
|
||||
### DemoColorPlane02
|
||||
[source code](src/demo/kotlin/DemoColorPlane02.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)
|
||||
### DemoColorRange03
|
||||
[source code](src/demo/kotlin/DemoColorRange03.kt)
|
||||
|
||||

|
||||

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

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

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

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

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

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

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

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

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

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

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

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

|
||||
|
||||
@@ -190,6 +190,16 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
||||

|
||||
|
||||

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

|
||||
|
||||
### DemoFunctionalComposition01
|
||||
[source code](src/demo/kotlin/DemoFunctionalComposition01.kt)
|
||||
|
||||
@@ -204,13 +214,3 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
||||
[source code](src/demo/kotlin/DemoGradientPerturb3D.kt)
|
||||
|
||||

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

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

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

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

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

|
||||
|
||||
@@ -8,6 +8,21 @@ Collection of shader based fills and strokes. Currently includes 4 types of grad
|
||||

|
||||
|
||||

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

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

|
||||
|
||||
### DemoAllGradients01
|
||||
[source code](src/demo/kotlin/DemoAllGradients01.kt)
|
||||
|
||||
@@ -22,18 +37,3 @@ Collection of shader based fills and strokes. Currently includes 4 types of grad
|
||||
[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)
|
||||
|
||||

|
||||
|
||||
@@ -4,40 +4,65 @@ Collection of 2D shape generators (polygon, star, rounded rectangle) and shape m
|
||||
|
||||
<!-- __demos__ -->
|
||||
## Demos
|
||||
### DemoBezierPatch01
|
||||
[source code](src/demo/kotlin/DemoBezierPatch01.kt)
|
||||
### DemoBezierPatchDrawer02
|
||||
[source code](src/demo/kotlin/DemoBezierPatchDrawer02.kt)
|
||||
|
||||

|
||||

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

|
||||

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

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

|
||||

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

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

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

|
||||

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

|
||||

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

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

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

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

|
||||
|
||||
### DemoBezierPatchDrawer03
|
||||
[source code](src/demo/kotlin/DemoBezierPatchDrawer03.kt)
|
||||
@@ -49,27 +74,17 @@ Collection of 2D shape generators (polygon, star, rounded rectangle) and shape m
|
||||
|
||||

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

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

|
||||
|
||||
### DemoRectangleGrid
|
||||
[source code](src/demo/kotlin/DemoRectangleGrid.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