Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add boolean operations for mobjects #1675

Merged
merged 4 commits into from
Nov 9, 2021
Merged

Add boolean operations for mobjects #1675

merged 4 commits into from
Nov 9, 2021

Conversation

YishiMichael
Copy link
Contributor

Motivation

Add boolean operations for mobjects

Proposed changes

The boolean_ops.py contains 4 boolean operations for 2D mobjects, using the package skia-pathops. The code is in fact borrowed from the community edition.

@TonyCrane TonyCrane requested a review from 3b1b November 9, 2021 16:31
@YishiMichael
Copy link
Contributor Author

Additionally, Exclusion can now take in more than 2 mobjects.

@3b1b 3b1b merged commit 41c6cbc into 3b1b:master Nov 9, 2021
@3b1b
Copy link
Owner

3b1b commented Nov 9, 2021

Wonderful, thanks for bringing it over!

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.

3 participants