Commit graph

5744 commits

Author SHA1 Message Date
Grant Sanderson
0d433b075e Fix bug associated with orientation data not always getting written
This might reflect a deeper issue with the locked_data sometimes being _too_ locked.
2023-01-04 17:18:10 -08:00
Grant Sanderson
0c1abebd95 Don't save last frame by default 2023-01-04 16:39:59 -08:00
Grant Sanderson
1cf89abf53 No need to track vertex index manually 2023-01-04 16:39:59 -08:00
Grant Sanderson
c30b102458 Use re.sub instead of looping over re.findall 2023-01-04 16:39:59 -08:00
Grant Sanderson
bf5d587204
Merge pull request #1957 from 3b1b/video-work
Refactor TransformMatchingStrings/TransformMatchingShapes
2023-01-02 09:38:08 -08:00
Grant Sanderson
abf1dd3d8b Typo fix 2023-01-02 09:32:10 -08:00
Samyek
333fd2676d update the year 2023-01-01 09:24:42 +00:00
Grant Sanderson
a31c4ae3c2 Add more indexing details to TexTransformExample 2022-12-30 15:19:29 -08:00
Grant Sanderson
4c1f1f8749 Clean up TransformMatchingStrings 2022-12-30 15:09:07 -08:00
Grant Sanderson
3aa9eb6372 Add String.get_symbol_substrings and Tex.get_symbol_substrings 2022-12-30 15:07:41 -08:00
Grant Sanderson
4335e85659 Abstract away logic of TransformMatchingStrings to a new version of TransformMatchingParts 2022-12-30 13:54:55 -08:00
Grant Sanderson
96bc95ef38 Allow FadeTransform to group parts as VGroup if applicable 2022-12-30 13:53:32 -08:00
Grant Sanderson
cec43dfe51 Use Vect3 type in fading.py 2022-12-30 13:53:12 -08:00
Grant Sanderson
50960eefd4
Merge pull request #1953 from 3b1b/video-work
More tweaks and fixes
2022-12-29 21:00:00 -08:00
Grant Sanderson
66f0a57c6b Clean up looks_identical 2022-12-29 20:58:37 -08:00
Grant Sanderson
dddaef0e6c Add lru_cache for get_shader_code_from_file 2022-12-29 20:51:11 -08:00
Grant Sanderson
7895a2cfee No need to immediately compute triangulation for SVG paths 2022-12-29 20:51:00 -08:00
Grant Sanderson
7dde368eeb Ensure error-flash rect is fixed in frame 2022-12-29 20:18:19 -08:00
Grant Sanderson
8e3378f798 Orient Camera.get_pixel_array correctly 2022-12-29 20:17:54 -08:00
Grant Sanderson
632819dd6d Show examples of indexing by substrings and regular expressions 2022-12-29 19:45:29 -08:00
Grant Sanderson
fdccfd51fc Add TexAndNumbersExample 2022-12-29 19:43:12 -08:00
Grant Sanderson
5d87f3f954 Update parents of new_mob in Mobject.replace 2022-12-29 19:42:54 -08:00
Grant Sanderson
3b4a233bb1 Fix LaggedStartMap 2022-12-29 18:53:26 -08:00
Grant Sanderson
4db01fd221 Fix Mobject.looks_identical 2022-12-29 18:53:06 -08:00
Grant Sanderson
5c33c7e4a8 Remove "None" output type for set_animating_status 2022-12-29 18:52:37 -08:00
Grant Sanderson
7df12c68dc Tiny cleanup 2022-12-29 18:52:13 -08:00
Grant Sanderson
0f9adbf91c Add Tex.make_number_changable 2022-12-29 18:52:00 -08:00
Grant Sanderson
04d3e6a47c Interpolate colors using square of rgbs 2022-12-29 16:07:28 -08:00
Grant Sanderson
124c83d94e
Merge pull request #1952 from 3b1b/video-work
More miscellaneous tweaks and fixes
2022-12-29 15:53:02 -08:00
Grant Sanderson
d6d75d8f9a Change from np.all(arr) to arr.all() 2022-12-29 15:50:35 -08:00
Grant Sanderson
2dbb9367c4 Default to removing null curves 2022-12-29 15:40:32 -08:00
Grant Sanderson
4bc7e3a8f2 Remove redundant long_line specification 2022-12-29 15:40:18 -08:00
Grant Sanderson
ba68505c18 Flash around border on exceptions in Scene.embed 2022-12-29 15:08:57 -08:00
Grant Sanderson
71815fd7de Add (optional) error sound for exceptions in Scene.embed 2022-12-29 14:58:40 -08:00
Grant Sanderson
cba101995f Allow for customizable exception display mode with Scene.embed 2022-12-29 14:38:25 -08:00
Grant Sanderson
4e014d7a8f Have get_scene_config automatically find intersection of Scene parameters and config keys
Previously it required duplicating any new parameter
2022-12-29 14:36:50 -08:00
Grant Sanderson
13fc8daba9 Extend StringMobject.select_unisolated_substring to work for regular expressions 2022-12-29 14:18:46 -08:00
Grant Sanderson
a54a81744d Have ShaderWrapper.combine_with do nothing for empty arg list 2022-12-29 12:04:35 -08:00
Grant Sanderson
3165a28cd0 Clean up and fix VMobject.get_shader_wrapper_list 2022-12-29 12:04:01 -08:00
Grant Sanderson
25ac5f3507 Use Mobject.1.has_same_shape_as in TransformMatchingStrings 2022-12-29 12:03:17 -08:00
Grant Sanderson
ef09d6fce2 Allow for AnimationGroup to specify that parts belong to a VGroup 2022-12-29 12:02:48 -08:00
Grant Sanderson
3738f0a48e Add Mobject.has_same_shape_as 2022-12-29 12:02:28 -08:00
Grant Sanderson
9018357d20 Fix Mobject.looks_identical 2022-12-29 12:02:20 -08:00
Grant Sanderson
4330f78ed6 Enable lag_ratio for TransformMatchingStrings 2022-12-29 10:44:52 -08:00
Grant Sanderson
1feae23566 Improve num_tex_symbols 2022-12-29 10:37:46 -08:00
Grant Sanderson
aedde4dffc
Merge pull request #1951 from 3b1b/video-work
Small tweaks and fixes
2022-12-28 21:37:36 -08:00
Grant Sanderson
53f19b6620 Remove @staticmethod from @wraps functions 2022-12-28 21:36:21 -08:00
Grant Sanderson
42f2461acb Revert "Allow for file_writing to use multiple thread"
This reverts commit 7b0b31e8d9.
2022-12-28 21:22:04 -08:00
Grant Sanderson
4c39c1abd6 Use arr.all() instead of np.all(arr) 2022-12-28 21:06:51 -08:00
Grant Sanderson
596aea3bf5 Update to bezier 2022-12-28 21:06:36 -08:00