Skip to content

Conversation

@mjmjmtl
Copy link

@mjmjmtl mjmjmtl commented Nov 15, 2025

Motivation

Previously Fix Mobject.get_area_vector() computes the area using the entire path, ignoring subpaths in the mobjects. This may result in inaccurate area.

Proposed changes

Get the subpath first, then compute the area sum for each subpath.

Test

Code:

Result:

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