[orx-shapes] Demo comments

This commit is contained in:
Abe Pazos
2025-08-30 23:56:56 +02:00
parent 2c3417dad6
commit ea4a2c0d89
12 changed files with 196 additions and 64 deletions

View File

@@ -12,6 +12,14 @@ import org.openrndr.shape.Rectangle
import org.openrndr.shape.Shape
import kotlin.random.Random
/**
* Demonstrates the use of Arrangement to create a 2D arrangement of shapes.
*
* The Arrangement constructor takes as arguments instances of [org.openrndr.shape.ShapeProvider]s.
*
* Once constructed, we can request `originFaces`, `edges`, `vertices`, `boundaries` and `holes`,
* to render or manipulate them further as needed.
*/
fun main() = application {
configure {
width = 800