add demos to README.md
This commit is contained in:
@@ -190,6 +190,7 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
||||
### DemoCubicNoise2D01
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/DemoCubicNoise2D01.kt)
|
||||
@@ -197,6 +198,7 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
||||
### DemoFunctionalComposition01
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/DemoFunctionalComposition01.kt)
|
||||
@@ -204,6 +206,7 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
||||
### DemoGradientPerturb2D
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/DemoGradientPerturb2D.kt)
|
||||
@@ -211,6 +214,7 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
||||
### DemoGradientPerturb3D
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/DemoGradientPerturb3D.kt)
|
||||
@@ -218,6 +222,7 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
||||
### DemoScatter01
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/DemoScatter01.kt)
|
||||
@@ -225,6 +230,7 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
||||
### DemoSimplex01
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/DemoSimplex01.kt)
|
||||
@@ -233,6 +239,7 @@ val v8 = billow(seed, x, y, z, ::perlinLinear, octaves, lacunarity, gain)
|
||||
|
||||
Demonstrate the generation of uniformly distributed points inside a list of triangles
|
||||
@see <img src="https://raw.githubusercontent.com/openrndr/orx/media/orx-noise/images/DemoTriangleNoise01Kt.png">
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/DemoTriangleNoise01.kt)
|
||||
@@ -240,6 +247,7 @@ Demonstrate the generation of uniformly distributed points inside a list of tria
|
||||
### DemoValueNoise2D01
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/DemoValueNoise2D01.kt)
|
||||
@@ -248,6 +256,7 @@ Demonstrate the generation of uniformly distributed points inside a list of tria
|
||||
|
||||
Render existing GLSL noise algorithms side by side.
|
||||
Use the GUI to explore the effects.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/glsl/DemoNoisesGLSLGui.kt)
|
||||
@@ -259,6 +268,7 @@ Re-use the same color buffer for the rendering.
|
||||
Not all noise properties are used. Explore each noise class
|
||||
to find out more adjustable properties.
|
||||
The noise color can be set using a `color` or a `gain` property.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/glsl/DemoNoisesGLSL.kt)
|
||||
@@ -266,6 +276,7 @@ The noise color can be set using a `color` or a `gain` property.
|
||||
### glsl/DemoSimplexGLSL
|
||||
|
||||
A sine oscillator with randomized parameters
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/glsl/DemoSimplexGLSL.kt)
|
||||
@@ -277,6 +288,7 @@ Demo that visualizes a 2D Hammersley point set.
|
||||
The application is configured to run at 720x720 resolution. The program computes
|
||||
400 2D Hammersley points mapped within the bounds of the application's resolution.
|
||||
These points are visualized by rendering circles at their respective positions.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/hammersley/DemoHammersley2D01.kt)
|
||||
@@ -293,6 +305,7 @@ in 3D space. This is achieved by mapping the generated points into a scaled doma
|
||||
The rendering utilizes the Orbital extension, enabling an interactive 3D camera
|
||||
to navigate the scene. The visualization relies on the draw loop for continuous
|
||||
rendering of the points.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/hammersley/DemoHammersley3D01.kt)
|
||||
@@ -310,6 +323,7 @@ shifting the hue in HSV color space.
|
||||
This program employs the `Orbital` extension, enabling camera interaction for 3D navigation
|
||||
of the scene. Rendering occurs within the draw loop, providing continuous visualization
|
||||
of the point distribution.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/hammersley/DemoHammersley4D01.kt)
|
||||
@@ -317,6 +331,7 @@ of the point distribution.
|
||||
### hash/DemoCircleHash01
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/hash/DemoCircleHash01.kt)
|
||||
@@ -324,6 +339,7 @@ of the point distribution.
|
||||
### hash/DemoRectangleHash01
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/hash/DemoRectangleHash01.kt)
|
||||
@@ -331,6 +347,7 @@ of the point distribution.
|
||||
### hash/DemoUHash01
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/hash/DemoUHash01.kt)
|
||||
@@ -338,6 +355,7 @@ of the point distribution.
|
||||
### linearrange/DemoLinearRange01
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/linearrange/DemoLinearRange01.kt)
|
||||
@@ -345,6 +363,7 @@ of the point distribution.
|
||||
### phrases/DemoUHashPhrase01
|
||||
|
||||
Demonstrate uniform hashing function phrase in a shadestyle
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/phrases/DemoUHashPhrase01.kt)
|
||||
@@ -354,6 +373,7 @@ Demonstrate uniform hashing function phrase in a shadestyle
|
||||
This demo sets up a window with dimensions 720x720 and renders frames
|
||||
demonstrating 2D quasirandomly distributed points. The points are generated
|
||||
using the R2 sequence and drawn as circles with a radius of 5.0.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/rseq/DemoRseq2D01.kt)
|
||||
@@ -369,6 +389,7 @@ The visualization setup includes:
|
||||
- Creation of a reusable sphere mesh with a specified radius.
|
||||
- Generation of quasirandom points in 3D space using the `rSeq3D` function.
|
||||
- Transformation and rendering of each point as a sphere using vertex buffers.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/rseq/DemoRseq3D01.kt)
|
||||
@@ -387,6 +408,7 @@ and transformed into 3D positions with an additional w-coordinate for color vari
|
||||
- Renders each point as a sphere with its position determined by the 3D coordinates
|
||||
of the point and its color calculated by shifting the hue of a base color using
|
||||
the w-coordinate value.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/rseq/DemoRseq4D01.kt)
|
||||
@@ -402,6 +424,7 @@ Functionalities:
|
||||
- Randomly populates two sections of the screen with rectangles filled with colors
|
||||
sampled from simplex and linear ranges respectively.
|
||||
- Draws a vertical divider line in the middle of the application window.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/simplexrange/DemoSimplexRange2D01.kt)
|
||||
@@ -417,6 +440,7 @@ Functionalities:
|
||||
- Randomly populates two sections of the screen with rectangles filled with colors
|
||||
sampled from simplex and linear ranges respectively.
|
||||
- Draws a vertical divider line in the middle of the application window.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/simplexrange/DemoSimplexRange2D02.kt)
|
||||
@@ -432,6 +456,7 @@ Functionalities:
|
||||
- Randomly populates two sections of the screen with rectangles filled with colors
|
||||
sampled from simplex and linear ranges respectively.
|
||||
- Draws a vertical divider line in the middle of the application window.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/simplexrange/DemoSimplexUniform01.kt)
|
||||
@@ -447,6 +472,7 @@ Functionalities:
|
||||
- Randomly populates two sections of the screen with rectangles filled with colors
|
||||
sampled from simplex and linear ranges respectively.
|
||||
- Draws a vertical divider line in the middle of the application window.
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/simplexrange/DemoSimplexUniform02.kt)
|
||||
|
||||
Reference in New Issue
Block a user