Interplay of Java and Quartz Composer

I wrote this event photography app that has slideshows among other things. The application is written in Java and is multi-platform. However, on Mac OS X, it uses the graphics capabilities of Quartz Composer, including the QC component in the Java window. The component is based on the sample that comes with Xcode.

The user can select a “skin” for the slide show, which consists of a .qtz file and an XML file that describes the parameters that the Java application can pass to the quality control program. Parameters are transmitted in UDP packets.

The problem with this method is that a lot of ugly javascript code is required in a QC project, and the developer who builds these projects is not a programmer.

Ideally, I would like to link the parameters to the published materials in the QC project. Has anyone already done such things, or can tell me some information about the interaction of Java and QC? Thanks in advance.

+3
source share
2 answers

The Mac OS Objective-C APIs have bindings to do what you want, but I don't know how you could access those in Java.

Quartz Composer, , OpenSoundControl, (Floats, ints Strings) UDP TCP-. , , Quartz Composer.

+2

, , JNI objective-c java-.

-1

Source: https://habr.com/ru/post/1704561/


All Articles