a5a73cb2da
Fix typos in GLSL comments and add constants PURE_RED
, PURE_GREEN
, PURE_BLUE
( #2340 )
...
* Fix typos in GLSL comments
* Fix typos in GLSL comments
* add constants PURE_RED, PURE_GREEN, PURE_BLUE
2025-06-10 08:12:11 -07:00
c13d2a946b
fix typos ( #2270 )
2024-12-13 11:05:48 -08:00
744e695340
Misc. clean up ( #2269 )
...
* Comment tweak
* Directly print traceback
Since the shell.showtraceback is giving some issues
* Make InteracrtiveSceneEmbed into a class
This way it can keep track of it's internal shell; use of get_ipython has a finicky relationship with reloading.
* Move remaining checkpoint_paste logic into scene_embed.py
This involved making a few context managers for Scene: temp_record, temp_skip, temp_progress_bar, which seem useful in and of themselves.
* Change null key to be the empty string
* Ensure temporary svg paths for Text are deleted
* Remove unused dict_ops.py functions
* Remove break_into_partial_movies from file_writer configuration
* Rewrite guarantee_existence using Path
* Clean up SceneFileWriter
It had a number of vestigial functions no longer used, and some setup that could be made more organized.
* Remove --save_pngs CLI arg (which did nothing)
* Add --subdivide CLI arg
* Remove add_extension_if_not_present
* Remove get_sorted_integer_files
* Have find_file return Path
* Minor clean up
* Clean up num_tex_symbols
* Fix find_file
* Minor cleanup for extract_scene.py
* Add preview_frame_while_skipping option to scene config
* Use shell.showtraceback function
* Move keybindings to config, instead of in-place constants
* Replace DEGREES -> DEG
2024-12-12 08:39:54 -08:00
fce92347fa
Replace get_global_config() with manim_config, and make it an addict Dict
2024-12-11 09:50:17 -06:00
9ac16ab722
Remove DEFAULT_FPS constant
...
It's a bit silly to have it's valued defined by camera_config, when it's only function is to be a default value for Camera's configuration
2024-12-10 20:19:25 -06:00
9f785a5fba
Move key to int constants to interactive_scene.py
2024-12-10 19:42:53 -06:00
a03accff9c
Rename local colors variable in constants.py
2024-12-10 19:36:19 -06:00
7d3758c44c
Move joint_type_map out of constants to VMobject
2024-12-10 19:33:06 -06:00
f9a44c9975
Make ffmpeg_bin specification a piece of file_writer_config
2024-12-10 19:29:55 -06:00
d5c36de3c5
DEFAULT_MOBJECT_TO_MOBJECT_BUFFER -> DEFAULT_MOBJECT_TO_MOBJECT_BUFF
...
And likewise DEFAULT_MOBJECT_TO_MOBJECT_BUFFER -> DEFAULT_MOBJECT_TO_MOBJECT_BUFF
2024-12-10 19:23:15 -06:00
c9b6ee57a8
Make default_wait_time a piece of scene configuration
2024-12-10 19:21:16 -06:00
2c43d293a5
Move arbitrary constant definitions into default_config
...
This should make things like the color palette and frame size more easily customizable.
2024-12-10 19:17:55 -06:00
6b38011078
Refactor config.py
2024-12-10 12:34:18 -06:00
0ef12ad7e4
Move FRAME_HEIGHT back to constants
...
Where it belongs
2024-12-06 12:35:39 -07:00
2e49c60148
Use config.get_resolution for constants
2024-12-06 09:49:21 -06:00
361d9d0652
Minor clean up
2024-12-05 14:42:22 -06:00
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
dc731f8bf2
Properly check modifier keys.
2024-10-25 00:01:30 +02:00
6d23df0497
Clean up changes associated with fixing aspect ratio issue
2024-09-06 12:50:19 -05:00
65e7943ff7
fix aspect_ratio other than 16:9 issue
2023-08-27 13:51:54 +08:00
285953b44d
Add FRAME_SHAPE constant
2023-01-30 11:57:01 -08:00
6ec3d9f4a5
Add 'no_joint' to joint types
2023-01-10 11:06:41 -08:00
75979eb7d1
Add NULL_POINTS constant
2022-12-17 19:48:27 -08:00
dec11a4b17
Rename np_vector type to Vect3 or Vect4 to make context clearer
2022-12-16 20:35:26 -08:00
43fd5e1aea
Move custom type to manimlib.typing
2022-12-16 20:19:18 -08:00
02143001a4
Move RangeSpecifier to constants
2022-12-15 16:46:42 -08:00
4c894077d3
Add np_vector types to constants
2022-12-15 15:24:08 -08:00
5a309d41b7
Undo potentially undefined typing
2022-12-15 11:33:53 -08:00
bab1f964bb
Add types to constants
2022-12-15 09:56:08 -08:00
e8c220a3f2
Add np_vector shorthand type to constants
2022-12-15 09:18:41 -08:00
5571c7d576
Kill config in transform.py
2022-12-14 12:05:33 -08:00
958002152e
Define ManimColor type in constants
2022-12-14 10:55:32 -08:00
6decb0c32a
Rename frame_rate -> fps
2022-05-14 17:47:31 -07:00
2ba9243067
Merge branch 'master' of github.com:3b1b/manim into video-work
2022-04-23 09:03:53 -07:00
b4b72d1b68
Allow stretched-resizing
2022-04-21 15:31:46 -07:00
d24b8ff48f
Merge branch 'master' into master
2022-04-20 22:40:11 -07:00
5a34ca1fba
Add MANIM_COLORS
2022-04-20 21:50:44 -07:00
68e2909af1
Mild cleanup to Scene interactivity
2022-04-20 21:50:37 -07:00
9ef9961d0e
Sort imports
2022-04-12 19:19:59 +08:00
6ad8636fab
Adjust some typings ( #1765 )
...
* Adjust some typings
* Adjust typings
2022-03-23 14:17:34 +08:00
df657c06c2
Add (admitedly silly) RADIANS constant
2021-03-31 23:26:35 -07:00
9fb6280f1d
Added colormap
2021-02-25 08:45:15 -08:00
9df136c723
Remove color definition redundancy
2021-02-11 12:24:06 -08:00
e1e7b1e6c1
Changes to make reduce the time of from manimlib import *
2021-02-11 12:22:37 -08:00
314c847463
remove unused NOT_SETTING_FONT_MSG
2021-01-16 09:40:05 +08:00
bf73938fd1
Move joint type map to constants
2021-01-10 14:10:31 -08:00
0b41457d4e
Remove COLORMAPS
2021-01-09 22:09:02 -08:00
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
5541d55094
Remove camera quality information from constants
2021-01-02 23:02:39 -08:00
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