mirror of
https://github.com/3b1b/manim.git
synced 2025-08-21 05:44:04 +00:00
Added PI constant
This commit is contained in:
parent
1b244c6367
commit
c9b71afb85
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue