From c9b71afb85d22aca5e1c0b858e870d1e7a3c5e05 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 16 Jul 2018 19:42:06 -0700 Subject: [PATCH] Added PI constant --- constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/constants.py b/constants.py index 5a4e29bc..0298b618 100644 --- a/constants.py +++ b/constants.py @@ -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")