mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 22:13:30 +08:00
Finished preliminary animations for hilbert section 1
This commit is contained in:
@ -19,7 +19,10 @@ class Transform(Animation):
|
||||
digest_config(self, kwargs, locals())
|
||||
count1, count2 = mobject.get_num_points(), ending_mobject.get_num_points()
|
||||
if count2 == 0:
|
||||
ending_mobject.add_points([SPACE_WIDTH*RIGHT+SPACE_HEIGHT*UP])
|
||||
ending_mobject.add_points(
|
||||
[mobject.get_center()],
|
||||
color = BLACK
|
||||
)
|
||||
count2 = ending_mobject.get_num_points()
|
||||
Mobject.align_data(mobject, ending_mobject)
|
||||
if self.should_black_out_extra_points and count2 < count1:
|
||||
|
Reference in New Issue
Block a user