Commit graph

70 commits

Author SHA1 Message Date
Grant Sanderson
0496402c55 Consolidate camera configuration
This is still not optimal, but at least makes clearer the way that importing from constants.py kicks off some of the configuration code.
2024-12-05 14:17:53 -06:00
Mitko Nikov
dc731f8bf2 Properly check modifier keys. 2024-10-25 00:01:30 +02:00
Grant Sanderson
6d23df0497 Clean up changes associated with fixing aspect ratio issue 2024-09-06 12:50:19 -05:00
german2020
65e7943ff7 fix aspect_ratio other than 16:9 issue 2023-08-27 13:51:54 +08:00
Grant Sanderson
285953b44d Add FRAME_SHAPE constant 2023-01-30 11:57:01 -08:00
Grant Sanderson
6ec3d9f4a5 Add 'no_joint' to joint types 2023-01-10 11:06:41 -08:00
Grant Sanderson
75979eb7d1 Add NULL_POINTS constant 2022-12-17 19:48:27 -08:00
Grant Sanderson
dec11a4b17 Rename np_vector type to Vect3 or Vect4 to make context clearer 2022-12-16 20:35:26 -08:00
Grant Sanderson
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
Grant Sanderson
02143001a4 Move RangeSpecifier to constants 2022-12-15 16:46:42 -08:00
Grant Sanderson
4c894077d3 Add np_vector types to constants 2022-12-15 15:24:08 -08:00
Grant Sanderson
5a309d41b7 Undo potentially undefined typing 2022-12-15 11:33:53 -08:00
Grant Sanderson
bab1f964bb Add types to constants 2022-12-15 09:56:08 -08:00
Grant Sanderson
e8c220a3f2 Add np_vector shorthand type to constants 2022-12-15 09:18:41 -08:00
Grant Sanderson
5571c7d576 Kill config in transform.py 2022-12-14 12:05:33 -08:00
Grant Sanderson
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00
Grant Sanderson
6decb0c32a Rename frame_rate -> fps 2022-05-14 17:47:31 -07:00
Grant Sanderson
2ba9243067 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-23 09:03:53 -07:00
Grant Sanderson
b4b72d1b68 Allow stretched-resizing 2022-04-21 15:31:46 -07:00
Grant Sanderson
d24b8ff48f
Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
Grant Sanderson
5a34ca1fba Add MANIM_COLORS 2022-04-20 21:50:44 -07:00
Grant Sanderson
68e2909af1 Mild cleanup to Scene interactivity 2022-04-20 21:50:37 -07:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
YishiMichael
6ad8636fab
Adjust some typings (#1765)
* Adjust some typings

* Adjust typings
2022-03-23 14:17:34 +08:00
Grant Sanderson
df657c06c2 Add (admitedly silly) RADIANS constant 2021-03-31 23:26:35 -07:00
Grant Sanderson
9fb6280f1d Added colormap 2021-02-25 08:45:15 -08:00
Grant Sanderson
9df136c723 Remove color definition redundancy 2021-02-11 12:24:06 -08:00
Grant Sanderson
e1e7b1e6c1 Changes to make reduce the time of from manimlib import * 2021-02-11 12:22:37 -08:00
Tony031218
314c847463 remove unused NOT_SETTING_FONT_MSG 2021-01-16 09:40:05 +08:00
Grant Sanderson
bf73938fd1 Move joint type map to constants 2021-01-10 14:10:31 -08:00
Grant Sanderson
0b41457d4e Remove COLORMAPS 2021-01-09 22:09:02 -08:00
Grant Sanderson
fdcc8d4257 Add ability to manipulate a mobjects shader code from python, and in particular to give it a coloring function, e.g. with Mobject.set_color_by_xyz_func 2021-01-09 18:52:54 -08:00
Grant Sanderson
5541d55094 Remove camera quality information from constants 2021-01-02 23:02:39 -08:00
Grant Sanderson
3b26a6c260 Clean up colors, e.g. replacing LIGHT_GREY and DARK_GREY with GREY_B and GREY_D 2021-01-02 22:44:53 -08:00
Grant Sanderson
32b76bf448 Small move to DEFAULT_PIXEL_HEIGHT, etc. In theory these values shouldn't matter anymore, but it's nice to have some default there for the definition of Camera 2021-01-02 22:38:07 -08:00
Grant Sanderson
6da1836f02 Take scene finding messages out of constants 2021-01-02 22:26:49 -08:00
Grant Sanderson
592432611b Remove all configuration from constants.py, and clean up the many files affected by this move 2021-01-02 20:47:51 -08:00
Tony031218
d28f30dc4a fix bugs of window position on Windows 2021-01-02 19:16:35 +08:00
Tony031218
23af9c6c9c fix bugs on Windows and ctex 2021-01-02 19:15:30 +08:00
Grant Sanderson
1d5cee6f43 Make the manim window show up in the upper right quadrant of the monitor window 2020-12-24 16:24:06 -08:00
Grant Sanderson
bbfce0f5be Change window position defaults 2020-12-04 08:20:06 -08:00
Grant Sanderson
725a7e3121 Enable 3d rotations 2020-06-01 16:21:18 -07:00
Grant Sanderson
0ed5acd6c6 Adding directory for mobject_points 2020-02-18 22:33:58 -08:00
Grant Sanderson
da7864b28c Remove ANTI_ALIAS_WIDTH 2020-02-14 17:00:36 -08:00
Grant Sanderson
bf83aed43b Have ANTI_ALIAS_WIDTH scale with frame size 2020-02-14 10:53:05 -08:00
Grant Sanderson
6892e511fe Trying a smaller anti_alias width 2020-02-06 10:03:42 -08:00
Grant Sanderson
1549998a19 Adding ANTI_ALIAS_WIDTH and SHADER_DIR, removing DEFAULT_POINT_DENSITY_* 2020-02-04 15:28:29 -08:00
xy-23
9b3e60f5ce Update some Text Mobject changes 2019-08-16 15:53:36 +08:00
xy-23
e9fa188d42 New Text Mobject 2019-08-12 09:35:05 +08:00
xy-23
057a92f92c new Text mobject 2019-08-05 22:53:15 +08:00