A community-maintained Python framework for creating mathematical animations.
make the code breathe, man
leotrs734635a8dada
diff --git a/manim/constants.py b/manim/constants.pyindex 074277c47..6a639553c 100644--- a/manim/constants.py+++ b/manim/constants.py@@ -38,16 +38,22 @@ BOLD = "BOLD"# Geometry: directionsORIGIN = np.array((0.0, 0.0, 0.0))"""The center of the coordinate system."""+UP = np.array((0.0, 1.0, 0.0))"""One unit step in the positive Y direction."""+DOWN = np.array((0.0, -1.0, 0.0))"""One unit step in the negative Y direction."""+RIGHT = np.array((1.0, 0.0, 0.0))"""One unit step in the positive X direction."""+LEFT = np.array((-1.0, 0.0, 0.0))"""One unit step in the nevative X direction."""+IN = np.array((0.0, 0.0, -1.0))"""One unit step in the nevative Z direction."""+OUT = np.array((0.0, 0.0, 1.0))"""One unit step in the positive Z direction."""@@ -59,10 +65,13 @@ Z_AXIS = np.array((0.0, 0.0, 1.0))# Geometry: useful abbreviations for diagonalsUL = UP + LEFT"""One step up plus one step left."""+UR = UP + RIGHT"""One step up plus one step right."""+DL = DOWN + LEFT"""One step down plus one step left."""+DR = DOWN + RIGHT"""One step down plus one step right."""@@ -90,8 +99,10 @@ DEFAULT_STROKE_WIDTH = 4# Mathematical constantsPI = np.pi"""The ratio of the circumference of a circle to its diameter."""+TAU = 2 * PI"""The ratio of the circumference of a circle to its radius."""+DEGREES = TAU / 360"""The exchange rate between radians and degrees."""