SIGN IN SIGN UP
3b1b / manim UNCLAIMED

Animation engine for explanatory math videos

85656 0 0 Python

Replace TEXT_MOB_SCALE_FACTOR with a dynamically calculated value (#2423)

- Set font_size_for_unit_height: 144 in config
- Calculate the relevant scaling factors for Text and Text using a rendered "0" as a reference, ensuring that a font size of 144 (or whatever is set) would give it a height of 1 in manim coordinates.
G
Grant Sanderson committed
e7787d791006c43ece9b86c7939fc0146b89e2a9
Parent: 268f1eb
Committed by GitHub <[email protected]> on 2/13/2026, 2:31:35 AM