Skip to content

Commit

Permalink
Add (admitedly silly) RADIANS constant
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Apr 1, 2021
1 parent 0c61c90 commit df657c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manimlib/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
PI = np.pi
TAU = 2 * PI
DEGREES = TAU / 360
# Nice to have a constant for readability
# when juxtaposed with expressions like 30 * DEGREES
RADIANS = 1

FFMPEG_BIN = "ffmpeg"

Expand Down

0 comments on commit df657c0

Please sign in to comment.