mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 20:43:56 +08:00
Moving leibniz to old_projects
This commit is contained in:
@ -2548,7 +2548,7 @@ class IntroduceRecipe(Scene):
|
||||
self.integer_factorization, DOWN,
|
||||
aligned_edge = LEFT
|
||||
)
|
||||
for factor, mob in zip(factors, factorization[1::]):
|
||||
for factor, mob in zip(factors, factorization[1:]):
|
||||
mob.underlying_number = factor
|
||||
y = complex(factor).imag
|
||||
if y == 0:
|
||||
@ -2568,7 +2568,7 @@ class IntroduceRecipe(Scene):
|
||||
mover = prime_mob.copy()
|
||||
mover.target = gauss_prime_mob
|
||||
movers.add(mover)
|
||||
if complex(gauss_prime).imag > 0:
|
||||
if abs(complex(gauss_prime).imag) > 0:
|
||||
index += 1
|
||||
mover = prime_mob.copy()
|
||||
mover.target = factorization[index+1]
|
||||
@ -2959,10 +2959,10 @@ class RecipeFor125(IntroduceRecipe):
|
||||
|
||||
self.revert_to_original_skipping_status()
|
||||
self.organize_factors_into_columns()
|
||||
self.take_product_of_columns()
|
||||
self.mark_left_product_as_result()
|
||||
self.swap_factors()
|
||||
self.write_last_step()
|
||||
# self.take_product_of_columns()
|
||||
# self.mark_left_product_as_result()
|
||||
# self.swap_factors()
|
||||
# self.write_last_step()
|
||||
|
||||
class StateFourChoices(TeacherStudentsScene):
|
||||
def construct(self):
|
Reference in New Issue
Block a user