A community-maintained Python framework for creating mathematical animations.
Bugfix: VMobject.pointwise_become_partial did not worked properly when 0<a, b<1 and they are on the same curve.
mirefekb7091273392c
diff --git a/mobject/vectorized_mobject.py b/mobject/vectorized_mobject.pyindex 2fb398c2d..7456223cf 100644--- a/mobject/vectorized_mobject.py+++ b/mobject/vectorized_mobject.py@@ -413,6 +413,9 @@ class VMobject(Mobject):b_residue = (num_cubics*b)%1if b == 1:b_residue = 1+ elif lower_index == upper_index:+ b_residue = (b_residue - a_residue)/(1-a_residue)+points[:4] = partial_bezier_points(points[:4], a_residue, 1)