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
Grant Sanderson
902a4f264e
Add white space after assert statements
2024-08-16 12:15:55 -05:00
Grant Sanderson
70b839e188
Change to only compute has_updater status as needed
2024-03-07 15:34:26 -03:00
Grant Sanderson
b39fbb62f4
Ensure joint_products are refreshed for _AnimationBuilder
2023-02-09 15:16:10 -08:00
Grant Sanderson
009f9dd18b
Don't call become at the end of Transform
2023-02-02 18:16:44 -08:00
Grant Sanderson
c4d698a169
Have Transform only copy target_mobject if it must
2023-02-02 15:36:58 -08:00
Grant Sanderson
7e78e76966
Only call become at the end of Transform if the rate func ends at 1
2023-01-31 14:46:28 -08:00
Grant Sanderson
acdc2654d3
Account for 'target_mobject is None' case
2023-01-26 16:52:25 -08:00
Grant Sanderson
28c875c2c3
Finish Transforms with a call to Mobject.become
2023-01-26 16:49:13 -08:00
Grant Sanderson
8ef71bb930
Don't use 'become' for interpolate at alpha = 0 or 1
2023-01-26 16:43:40 -08:00
Grant Sanderson
f96a697ee3
Use become for interpolating at 0 or 1
2023-01-25 19:21:24 -08: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
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
b94e9f3a24
Fix Restore
2022-11-04 12:27:50 -07:00
widcardw
a613099b1d
feat: add set_anim_args
to .animate
method
2022-09-11 10:22:08 +08:00
Grant Sanderson
25de729bb3
Only lock data for mobjects without updaters
2022-05-14 17:28:31 -07: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
41c4023986
chore: add type hints to manimlib.animation
2022-02-15 18:39:45 +08:00
slowy07
1e621e8278
fix: fix typo spelling grammar
2021-08-07 22:25:26 +07:00
friedkeenan
d24ba30fde
Add .animate syntax
2021-02-10 07:43:46 -06:00
鹤翔万里
a45e0afe0e
Merge pull request #1116 from kcheng0222/patch-1
...
Fixed typo from "depricated" to "deprecated"
2021-02-04 09:31:27 +08:00
Grant Sanderson
5e09a80c5b
Bug fix, call super().finish()
2021-01-13 00:35:57 -10:00
Grant Sanderson
f1c32b64cc
Default to apply animations over family rather than family_members_with_points
2021-01-12 13:08:01 -10:00
Grant Sanderson
0d238417cb
Allow locking data to speed up some animations
2021-01-12 11:09:53 -10:00
Grant Sanderson
e2fc0ab1aa
Remove unnecessary import
2021-01-03 17:58:01 -08:00
Grant Sanderson
baff788217
Tiny line consolidation
2021-01-03 17:16:19 -08:00
Grant Sanderson
504f5c4329
Minor tweak to comment, etc.
2021-01-03 16:53:29 -08:00
Kyle Cheng
435a2631c9
Fixed typo from "depricated" to "deprecated"
2020-05-31 09:44:39 -07:00
applemonkey496
c82b1fc2c9
Fix "itslef" to "itself"
...
I know this is trivial, but I had to fix it.
2020-05-14 12:42:56 -07:00
Grant Sanderson
c74cfa3c5d
Add error message for ApplyFunction
2019-12-15 08:44:57 -08:00
Grant Sanderson
d9fcbea823
Remove Transform.__str__
2019-04-21 08:12:05 -07:00
Grant Sanderson
390e774160
Changed Transform.get_all_families_zipped, since when target_mobject doesn't have its data sligned, problems ensue
2019-02-11 20:50:54 -08:00
Grant Sanderson
67a33d2e88
Use super() in __init__ functions
2019-02-09 10:56:51 -08:00
Grant Sanderson
1cc395ce8b
Moved ShrinkToCenter to transform, and made it a subclass of ScaleInPlace
2019-02-09 10:40:00 -08:00
Grant Sanderson
22eab68e2a
Added Transform.create_target to make implementation of subclasses cleaner
2019-02-09 09:25:13 -08:00
Grant Sanderson
67817e9c6d
Cleaned up remainder of Transform animations
2019-02-08 19:08:09 -08:00
Grant Sanderson
707a2f6f63
Get rid of lag_factor
2019-02-08 18:42:40 -08:00
Grant Sanderson
f1b847deff
Changed implementation of TransformFromCopy
2019-02-08 18:10:55 -08:00
Grant Sanderson
85616f0019
Fixed ApplyMethod to only create target once the begin method is called
2019-02-08 16:51:26 -08:00
Grant Sanderson
cf92cd161e
Get rid of all_at_once
2019-02-08 15:49:06 -08:00
Grant Sanderson
ec638de1ec
Fixed Animation to work for updating mobjects
2019-02-08 12:32:24 -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
f4ddbef136
Get rid of instantiate function
2019-02-08 10:33:08 -08:00
Grant Sanderson
5e63b5743d
Update target mobject before Transform
2019-02-03 12:08:37 -08:00
Devin Neal
afdf907abc
fix imports, remove __init__.py files, some pep8 linting
2018-12-27 09:41:41 -08:00