Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

It should be multiplication (#2335)

zhujisheng2a0d1009f6d0
diff --git a/manim/camera/camera.py b/manim/camera/camera.py
index 6460313c0..e86fe13ba 100644
--- a/manim/camera/camera.py
+++ b/manim/camera/camera.py
@@ -1106,7 +1106,7 @@ class Camera:
big_sum = op.add(config["pixel_height"], config["pixel_width"])
this_sum = op.add(self.pixel_height, self.pixel_width)
factor = fdiv(big_sum, this_sum)
- return 1 + (thickness - 1) / factor
+ return 1 + (thickness - 1) * factor
def get_thickening_nudges(self, thickness):
"""