[orx-noise] Add comments to all demos, add demo

This commit is contained in:
Abe Pazos
2025-08-30 13:54:25 +02:00
parent 935e7cd9a8
commit 878f2b040d
18 changed files with 156 additions and 23 deletions

View File

@@ -5,6 +5,14 @@ import org.openrndr.extra.noise.shapes.hash
import org.openrndr.extra.noise.shapes.uniform
import kotlin.random.Random
/**
* Demonstrates how to generate and draw random points within two subregions of a rectangular area
* using two different randomization methods.
*
* The first subregion generates points using a _uniform_ random distribution, while the second subregion
* generates points deterministically with a _hash-based_ randomization approach. The points are visualized
* as small circles.
*/
fun main() = application {
configure {
width = 720