Skip to content

Add processing_core crate and webcam support#87

Merged
tychedelia merged 8 commits intoprocessing:mainfrom
tychedelia:webcam
Mar 13, 2026
Merged

Add processing_core crate and webcam support#87
tychedelia merged 8 commits intoprocessing:mainfrom
tychedelia:webcam

Conversation

@tychedelia
Copy link
Member

Adds support for webcams and demonstrates a new pattern for non-rendering features.

Webcams are pretty straightforward. They are a new API Object that you can retrieve an Image from, representing the webcam's texture for this frame.

The bigger change here is the introduction of the processing_core crate and moving the primary Bevy App stuff into it. Additionally, we move the actual App initialization code into the main parent processing crate. The idea here is that that top-level crate can manage things like features and which plugins to add. You'll note that webcam is feature flagged. In practice, when we distribute our library, we will enable all features, but it's nice to give users the chance to disable features that they aren't interested in to create a smaller distribution.

Re: #85, we should follow the same pattern.

@tychedelia tychedelia requested a review from catilac March 11, 2026 19:26
Copy link
Contributor

@catilac catilac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAY. okay also seeing processing_core as a way to clean up the dependencies here. going to follow the pattern for the midi!

@tychedelia tychedelia merged commit c82ff83 into processing:main Mar 13, 2026
3 of 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.

2 participants