Skip to content

Embedded python - #240

Merged
tychedelia merged 3 commits into
processing:mainfrom
tychedelia:embedded_python
Sep 26, 2026
Merged

tychedelia merged 3 commits into
processing:mainfrom
tychedelia:embedded_python

Conversation

@tychedelia

Copy link
Copy Markdown
Member

Adds support for embedding python in host applications (i.e. TouchDesigner).

There are a few issues that need to be sorted here. FIrst, we need a host API so that we can synchronize sketch App creation so that no single sketch "owns" the App. This works for environments like Touch where everything is single threaded. Other applications that may want to drive sketches via multi-threading will need a different approach.

We add a new id method to all classes so that they can share ids via Python.

We add a new image_update_raw to work with readback in these applications, i.e. to read the raw bytes from a Touch managed texture and write it directly and efficiently into our own Image.

@tychedelia
tychedelia requested a review from catilac September 25, 2026 23:57
@tychedelia
tychedelia merged commit bcbaa21 into processing:main Sep 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant