Add orx-processing module for OPENRNDR and Processing interop

This commit introduces the `orx-processing` module, enabling seamless type conversions between OPENRNDR and Processing. It includes extensions for converting vectors and shapes, supporting interoperability through utilities like `PVector`, `PShape`, and `ShapeContour`.
This commit is contained in:
Edwin Jakobs
2025-04-15 22:41:57 +02:00
parent 3723623cad
commit 498f776493
6 changed files with 332 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# 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.