add demos to README.md
This commit is contained in:
@@ -32,5 +32,7 @@ val et = Easing.QuadIn.function(t, 0.0, 1.0, 1.0)
|
|||||||
|
|
||||||
<!-- __demos__ -->
|
<!-- __demos__ -->
|
||||||
## Demos
|
## Demos
|
||||||
[DemoEasings01Kt](src/demo/kotlin/DemoEasings01Kt.kt)
|
### DemoEasings01
|
||||||

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

|
||||||
|
|||||||
@@ -101,5 +101,7 @@ All distortion effects are opacity preserving
|
|||||||

|
### DemoFluidDistort01
|
||||||

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

|
||||||
|
|||||||
@@ -169,7 +169,12 @@ import org.openrndr.extra.parameters.DoubleParameter
|
|||||||

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

|

|
||||||
[DemoSimple01Kt](src/demo/kotlin/DemoSimple01Kt.kt)
|
|
||||||

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

|
||||||
|
|||||||
@@ -155,5 +155,7 @@ fun main() = application {
|
|||||||
```
|
```
|
||||||
<!-- __demos__ -->
|
<!-- __demos__ -->
|
||||||
## Demos
|
## Demos
|
||||||
[DemoSkeleton01Kt](src/demo/kotlin/DemoSkeleton01Kt.kt)
|
### DemoSkeleton01
|
||||||

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

|
||||||
|
|||||||
@@ -149,15 +149,32 @@ Supported functions in expressions:
|
|||||||

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

|

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

|

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

|

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

|

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

|

|
||||||
[DemoSimpleRepetitions01Kt](src/demo/kotlin/DemoSimpleRepetitions01Kt.kt)
|
|
||||||

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

|
||||||
|
|||||||
@@ -59,15 +59,32 @@ fun boxMesh(
|
|||||||

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

|

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

|

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

|

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

|

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

|

|
||||||
[DemoComplex05Kt](src/demo/kotlin/DemoComplex05Kt.kt)
|
|
||||||

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

|
||||||
|
|||||||
@@ -169,9 +169,17 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
|||||||

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

|

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

|

|
||||||
[DemoPoissonDiskSamplingKt](src/demo/kotlin/DemoPoissonDiskSamplingKt.kt)
|
|
||||||

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

|
||||||
|
|||||||
@@ -5,5 +5,7 @@
|
|||||||

|
### DemoRadialGradient01
|
||||||

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

|
||||||
|
|||||||
@@ -48,7 +48,12 @@ drawer.circle(0.0, 0.0, size.sine(freq, phase))
|
|||||||

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

|

|
||||||
[DemoLFOKt](src/demo/kotlin/DemoLFOKt.kt)
|
|
||||||

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

|
||||||
|
|||||||
@@ -47,9 +47,17 @@ Note that drawing inside the `repeat` action has no effect. Have a look at the d
|
|||||||

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

|

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

|

|
||||||
[DemoTimeOut01Kt](src/demo/kotlin/DemoTimeOut01Kt.kt)
|
|
||||||

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

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