Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Added PI constant

Grant Sandersonc9b71afb85d2
diff --git a/constants.py b/constants.py
index 5a4e29bce..0298b6182 100644
--- a/constants.py
+++ b/constants.py
@@ -106,7 +106,8 @@ BOTTOM = FRAME_Y_RADIUS * DOWN
LEFT_SIDE = FRAME_X_RADIUS * LEFT
RIGHT_SIDE = FRAME_X_RADIUS * RIGHT
-TAU = 2 * np.pi
+PI = np.pi
+TAU = 2 * PI
DEGREES = TAU / 360
ANIMATIONS_DIR = os.path.join(MEDIA_DIR, "animations")