Files
orx/orx-jvm/orx-processing/README.md
2025-04-28 11:47:37 +00:00

25 lines
1.1 KiB
Markdown

# orx-processing
orx-processing is a module designed to facilitate seamless type conversions
between Processing's types and OPENRNDR's types. It provides utilities and
methods that allow developers to integrate the two graphics frameworks
effectively by bridging the gap between their respective data structures.
For example, orx-processing enables you to:
- Convert Processing's PVector to OPENRNDR's Vector2 or Vector3.
- Transform OPENRNDR Shape and ShapeContour into their Processing equivalents.
This module is particularly useful in projects that require the features or
APIs of both Processing and OPENRNDR, simplifying interoperability and reducing boilerplate code for type translation.
<!-- __demos__ -->
## Demos
### DemoPShape01
[source code](src/demo/kotlin/DemoPShape01.kt)
![DemoPShape01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-jvm/orx-processing/images/DemoPShape01Kt.png)
### DemoPShape02
[source code](src/demo/kotlin/DemoPShape02.kt)
![DemoPShape02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-jvm/orx-processing/images/DemoPShape02Kt.png)