mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 13:03:31 +08:00
Added PI constant
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user