Files
orx/orx-composition
Abe Pazos e8f50b3dd1 [orx-composition] Fix issue in parallel execution (#360)
Adding items to a mutableList from inside a pForEach leads to unpredictable results. Use pmap instead.
2025-06-23 07:48:48 +02:00
..
2024-04-02 13:17:06 +02:00
2024-04-02 11:29:56 +00:00

orx-composition

Shape composition library

One can think of a Composition as a vector design made out of primitives like ShapeContour, Shape, or LineSegment, each having its fill color, stroke color and stroke weight.

Compositions can be loaded from SVG files and then queried or altered via code.

Composition can also be generated from scratch, typically using drawComposition { ... }, then saved as an SVG file.

Read about Composition in the guide.

The code in orx-composition was previously found under openrndr-draw in the openrndr repository.

Demos

DemoCompositionDrawer01

source code

DemoCompositionDrawer01Kt

DemoCompositionDrawer02

source code

DemoCompositionDrawer02Kt

DemoCompositionDrawer03

source code

DemoCompositionDrawer03Kt