1435 Commits

Author SHA1 Message Date
4631508b7d Add get_tex() method 2021-12-06 13:48:17 +08:00
8803088121 Fix bugs concerned with child environments 2021-12-06 09:44:59 +08:00
1d466cb299 Add Exception for indices_of_part() 2021-12-05 22:17:09 +08:00
5a1f00b1cb Add TransformMatchingMTex 2021-12-05 11:46:15 +08:00
17d31045b2 Add TransformMatchingMTex 2021-12-05 11:45:42 +08:00
950466c1da Some refactors 2021-12-05 10:21:55 +08:00
62151e52f1 Merge branch '3b1b:master' into master 2021-12-01 08:42:17 +08:00
9dd1f47dab Create single progress display for full scene render
When a scene is written to file, it will now do a preliminary run of a copy of the scene with skip_animations turned on to count the total frames, which has the added benefit of catching runtime errors early, and allowing an quicker preview of the last frame to be sure everything will render as expected.

The Progress display bars for individual animations are replaced with a more global progress display bar showing the full render time for the scene.

This has the downside that all the non-rendering computations in a scene are run twice, so any scene with slow computations unrelated to rendering will take longer. But those are rarer, so the benefits seem worth it.
2021-11-30 11:41:33 -08:00
49743daf32 Add Mobject.insert_submobject method 2021-11-30 11:30:50 -08:00
ba23fbe71e Make sure Mobject.is_fixed_in_frame stays updated with uniforms 2021-11-30 11:30:34 -08:00
ee1594a3cb Match fix_in_frame status for FlashAround mobject 2021-11-30 11:29:12 -08:00
e9afb0ee33 Fix tiny PEP errors 2021-11-30 11:28:26 -08:00
8b1715379d Some small refactors 2021-11-29 09:48:00 +08:00
2501fac32f Some small refactors 2021-11-29 09:38:48 +08:00
1aec0462ec Some small refactors 2021-11-29 01:43:48 +08:00
83c70a59d8 Sort superscripts and subscripts in submobjects 2021-11-29 01:15:38 +08:00
758f2ec236 Some small refactor 2021-11-28 23:38:12 +08:00
e8ebfa312b Prevent infinite loops from unexpected inputs 2021-11-28 13:26:54 +08:00
dae24891fa Add get_all_isolated_substrings method 2021-11-28 13:03:33 +08:00
a4f9de1ca1 Fix bugs concerned with coloring 2021-11-28 12:14:29 +08:00
697028cd4c Add slicing and indexing methods 2021-11-27 23:07:46 +08:00
c84acc0023 Remove disabled methods 2021-11-27 19:53:52 +08:00
b1d869cd11 Update __init__.py to include mtex_mobject 2021-11-27 16:21:06 +08:00
13a5f6d6ff Add MTex 2021-11-27 16:19:01 +08:00
e3f87d835b Recover files 2021-11-27 16:17:22 +08:00
7ffab788b7 Recover numbers.py 2021-11-27 16:16:18 +08:00
bcd09906be Fix bug in ShowSubmobjectsOneByOne 2021-11-22 08:05:59 -08:00
407c53f97c Have rotation_between_vectors handle identical/similar vectors 2021-11-18 17:52:48 -08:00
eea3c6b294 Better align SurfaceMesh to the corresponding surface polygons 2021-11-18 17:52:17 -08:00
d2182b9112 Make sure set_length returns self 2021-11-18 17:51:56 -08:00
fbc329d7ce Small bug fix for angle_between_vectors 2021-11-17 12:49:53 -08:00
25045143a1 Have mobject uniforms supercede camera uniforms 2021-11-17 12:49:08 -08:00
e899604a2d Add getter methods for specific euler angles 2021-11-17 12:48:17 -08:00
0b898a5594 Add always_sort_to_camera for surfaces 2021-11-16 17:38:43 -08:00
ee2f68cd49 Exchange gloss for reflectiveness 2021-11-16 17:38:30 -08:00
2cce4ccdd7 Exchange gloss for reflectiveness 2021-11-16 17:38:08 -08:00
f3ecebee43 Remove unnecessary import 2021-11-16 17:37:45 -08:00
e764da3c3a use quick_point_from_proportion for graph points 2021-11-16 17:37:27 -08:00
fbbea47d11 Change temp embed file name 2021-11-16 17:37:01 -08:00
781a9934fd Add shortcut for setting black background stroke 2021-11-16 17:29:24 -08:00
a7173142bf Fix VMobject.fade 2021-11-16 17:29:10 -08:00
0e78027186 Improve point_from_proportion to account for arc length 2021-11-16 17:28:48 -08:00
82bd02d21f Fix angle_between_vectors, add rotation_between_vectors 2021-11-16 17:08:35 -08:00
d065e1973d Add option to insert embed line from the command line (mildly hacky) 2021-11-14 12:31:56 -08:00
7070777408 Tiny formatting change 2021-11-12 15:47:23 -08:00
5c2a9f2129 style: change CRLF to LF
Change the line ending characters from CRLF to LF
2021-11-12 21:49:56 +08:00
1b695e1c19 Refactor Tex 2021-11-12 21:22:42 +08:00
da1cc44d90 Remove SingleStringTex 2021-11-12 21:21:44 +08:00
3bbb759112 Merge branch 'master' of github.com:3b1b/manim into video-work 2021-11-09 09:18:56 -08:00
5930e6a176 Refresh unit normal when reversing points 2021-11-09 09:15:15 -08:00