Grant Sanderson
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
Varniex
5d3f730824
Cleaning up some imports + Minor Bug fixed in VectorField ( #2253 )
...
* cleaning up imports
* sample_points -> sample_coords
2024-12-05 14:42:46 -08:00
Grant Sanderson
9812503597
Merge pull request #2059 from germanzhu/fix_vshowpassingflash
...
fix VShowPassingFlash index out of bounds issue
2024-09-06 09:39:06 -07:00
german2020
f0a61beaf5
fix VShowPassingFlash index out of bounds issue
2023-08-28 10:10:51 +08:00
Grant Sanderson
5d9a7f49e6
Add taper_width argument to FlashAround
2023-06-10 09:19:48 -07:00
Grant Sanderson
f33b8d1d2f
Add stretch_factor in FlashUnder Underline
2023-06-10 09:19:32 -07:00
Grant Sanderson
35c19fe8a7
Edit is_fixed_in_frame
2023-01-27 14:48:31 -08:00
Grant Sanderson
5a95bfa70f
Delete align_stroke_width_data_to_points
2023-01-15 21:28:19 -08:00
Grant Sanderson
557e57d95b
Change taper width default
2023-01-11 19:27:23 -08:00
Grant Sanderson
d3a40eb1ac
Update VShowPassingFlash for new path mode
2023-01-11 16:40:40 -08:00
Grant Sanderson
dd2fb6ae74
Delete refresh_unit_normal
2022-12-23 10:23:57 -07:00
Grant Sanderson
43fd5e1aea
Move custom type to manimlib.typing
2022-12-16 20:19:18 -08:00
Grant Sanderson
afab37c2d2
Remove stray digest_config references
2022-12-16 11:00:59 -08:00
Grant Sanderson
7dcf5eff8e
Kill CONFIG in indication.py
2022-12-14 14:40:05 -08:00
Grant Sanderson
958002152e
Define ManimColor type in constants
2022-12-14 10:55:32 -08:00
YishiMichael
3c0abb0b40
fix: add missed imports
2022-08-23 11:40:19 +08:00
YishiMichael
fbebaf0c75
Sort imports
2022-04-12 19:39:19 +08:00
YishiMichael
9ef9961d0e
Sort imports
2022-04-12 19:19:59 +08:00
TonyCrane
4fbe948b63
style: insert an empty line after import
2022-02-16 21:08:25 +08:00
TonyCrane
854f7cd2bf
fix: remove type alias import in indication.py
2022-02-15 18:47:17 +08:00
TonyCrane
41c4023986
chore: add type hints to manimlib.animation
2022-02-15 18:39:45 +08:00
Grant Sanderson
ee1594a3cb
Match fix_in_frame status for FlashAround mobject
2021-11-30 11:29:12 -08:00
Grant Sanderson
c08ea4e645
Add FlashyFadeIn
2021-08-19 09:00:30 -07:00
Grant Sanderson
f6ff070a8e
Add FlashAround and FlashUnder
2021-03-18 17:42:47 -07:00
Grant Sanderson
e35f8466be
Added VShowPassingFlash
2021-02-25 08:45:03 -08:00
Grant Sanderson
ddfc3a6567
Replace lingering .points references
2021-01-12 07:27:32 -10:00
Grant Sanderson
5b454a3ff7
Remove rotate_in_place and scale_in_place methods, as they had the same functionality as rotate and scale
2021-01-05 22:05:15 -08:00
Grant Sanderson
5a780dfde3
Flash did not use stroke_width
2020-03-07 20:53:48 -08:00
Grant Sanderson
0271511a9e
Removed unneccesary import
2019-03-20 13:07:40 -07:00
Grant Sanderson
94d7a8a663
updating_mobject_from_func -> always_redraw
2019-02-11 12:58:52 -08:00
Grant Sanderson
bac64eddb3
Rename updater.py to mobject_update_utils.py
2019-02-11 12:51:50 -08:00
Grant Sanderson
3714446eea
Finished updating indication animations
2019-02-09 15:01:41 -08:00
Grant Sanderson
14b9db61b9
Updates to (some) indication animations
2019-02-09 12:07:33 -08:00
Grant Sanderson
88b35c45b8
Created fading.py and growing.py to help break up animation.creation.py
2019-02-09 09:08:57 -08:00
Grant Sanderson
707a2f6f63
Get rid of lag_factor
2019-02-08 18:42:40 -08:00
Grant Sanderson
bf738b70d7
update_submobject -> interpolate_submobject
2019-02-08 12:00:51 -08:00
Grant Sanderson
1c4ff6a556
update_mobject -> interpolate_mobject for Animation, but not for ContinualAnimation
2019-02-08 11:57:27 -08:00
Grant Sanderson
bf3d9c9b5a
clean_up -> clean_up_from_scene
2019-02-08 11:00:04 -08:00
Grant Sanderson
b7cf5e82e3
rate_func can no longer be None, must be a function. Use 'linear' instead of None
2019-02-05 15:39:58 -08:00
Grant Sanderson
40273bab1d
Changed implementation of ShowPassingFlash to something that felt less confusing
2019-01-29 23:52:01 -08:00
Grant Sanderson
a62eb989de
Simpler animation config for ShowCreationThenFadeAround
2019-01-22 15:38:25 -08:00
Grant Sanderson
1064f80d5b
Added ShowCreationThenFadeOut
2019-01-16 11:07:36 -08:00
Grant Sanderson
e5e233262c
CircleThenFadeAround -> ShowCreationThenFadeAround
2019-01-15 12:20:43 -08:00
Grant Sanderson
cf958684e8
Moved uncertainty Flash animation into indication, and cleaned up for more general use
2019-01-05 11:08:08 -08:00
Devin Neal
3543a750ba
move library code into manimlib, replace relative imports with absolute imports
2018-12-26 20:57:01 -08:00