Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Use TAU. Obviously.

Grant Sanderson2e54eabcc7ba
diff --git a/utils/space_ops.py b/utils/space_ops.py
index 1ddf6f7f9..2a1b604ae 100644
--- a/utils/space_ops.py
+++ b/utils/space_ops.py
@@ -170,7 +170,7 @@ def get_unit_normal(v1, v2):
def compass_directions(n=4, start_vect=RIGHT):
- angle = 2 * np.pi / n
+ angle = TAU / n
return np.array([
rotate_vector(start_vect, k * angle)
for k in range(n)