Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

2*np.pi -> TAU. Because why not?

Grant Sandersone63074a72ed5
diff --git a/manimlib/mobject/geometry.py b/manimlib/mobject/geometry.py
index d838930d0..eba3f0010 100644
--- a/manimlib/mobject/geometry.py
+++ b/manimlib/mobject/geometry.py
@@ -166,7 +166,7 @@ class Circle(Arc):
}
def __init__(self, **kwargs):
- Arc.__init__(self, 2 * np.pi, **kwargs)
+ Arc.__init__(self, TAU, **kwargs)
def surround(self, mobject, dim_to_match=0, stretch=False, buffer_factor=1.2):
# Ignores dim_to_match and stretch; result will always be a circle