Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Added TAU constant

Grant Sanderson42b11d284c26
diff --git a/constants.py b/constants.py
index 12f2a72e6..78a2bad93 100644
--- a/constants.py
+++ b/constants.py
@@ -59,6 +59,8 @@ BOTTOM = SPACE_HEIGHT*DOWN
LEFT_SIDE = SPACE_WIDTH*LEFT
RIGHT_SIDE = SPACE_WIDTH*RIGHT
+TAU = 2*np.pi
+
# Change this to point to where you want
# animation files to output
MEDIA_DIR = os.path.join(os.path.expanduser('~'), "Dropbox (3Blue1Brown)/3Blue1Brown Team Folder")