5180 Commits

Author SHA1 Message Date
66f0a57c6b Clean up looks_identical 2022-12-29 20:58:37 -08:00
dddaef0e6c Add lru_cache for get_shader_code_from_file 2022-12-29 20:51:11 -08:00
7895a2cfee No need to immediately compute triangulation for SVG paths 2022-12-29 20:51:00 -08:00
7dde368eeb Ensure error-flash rect is fixed in frame 2022-12-29 20:18:19 -08:00
8e3378f798 Orient Camera.get_pixel_array correctly 2022-12-29 20:17:54 -08:00
632819dd6d Show examples of indexing by substrings and regular expressions 2022-12-29 19:45:29 -08:00
fdccfd51fc Add TexAndNumbersExample 2022-12-29 19:43:12 -08:00
5d87f3f954 Update parents of new_mob in Mobject.replace 2022-12-29 19:42:54 -08:00
3b4a233bb1 Fix LaggedStartMap 2022-12-29 18:53:26 -08:00
4db01fd221 Fix Mobject.looks_identical 2022-12-29 18:53:06 -08:00
5c33c7e4a8 Remove "None" output type for set_animating_status 2022-12-29 18:52:37 -08:00
7df12c68dc Tiny cleanup 2022-12-29 18:52:13 -08:00
0f9adbf91c Add Tex.make_number_changable 2022-12-29 18:52:00 -08:00
04d3e6a47c Interpolate colors using square of rgbs 2022-12-29 16:07:28 -08:00
124c83d94e Merge pull request #1952 from 3b1b/video-work
More miscellaneous tweaks and fixes
2022-12-29 15:53:02 -08:00
d6d75d8f9a Change from np.all(arr) to arr.all() 2022-12-29 15:50:35 -08:00
2dbb9367c4 Default to removing null curves 2022-12-29 15:40:32 -08:00
4bc7e3a8f2 Remove redundant long_line specification 2022-12-29 15:40:18 -08:00
ba68505c18 Flash around border on exceptions in Scene.embed 2022-12-29 15:08:57 -08:00
71815fd7de Add (optional) error sound for exceptions in Scene.embed 2022-12-29 14:58:40 -08:00
cba101995f Allow for customizable exception display mode with Scene.embed 2022-12-29 14:38:25 -08:00
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
13fc8daba9 Extend StringMobject.select_unisolated_substring to work for regular expressions 2022-12-29 14:18:46 -08:00
a54a81744d Have ShaderWrapper.combine_with do nothing for empty arg list 2022-12-29 12:04:35 -08:00
3165a28cd0 Clean up and fix VMobject.get_shader_wrapper_list 2022-12-29 12:04:01 -08:00
25ac5f3507 Use Mobject.1.has_same_shape_as in TransformMatchingStrings 2022-12-29 12:03:17 -08:00
ef09d6fce2 Allow for AnimationGroup to specify that parts belong to a VGroup 2022-12-29 12:02:48 -08:00
3738f0a48e Add Mobject.has_same_shape_as 2022-12-29 12:02:28 -08:00
9018357d20 Fix Mobject.looks_identical 2022-12-29 12:02:20 -08:00
4330f78ed6 Enable lag_ratio for TransformMatchingStrings 2022-12-29 10:44:52 -08:00
1feae23566 Improve num_tex_symbols 2022-12-29 10:37:46 -08:00
aedde4dffc Merge pull request #1951 from 3b1b/video-work
Small tweaks and fixes
2022-12-28 21:37:36 -08:00
53f19b6620 Remove @staticmethod from @wraps functions 2022-12-28 21:36:21 -08:00
42f2461acb Revert "Allow for file_writing to use multiple thread"
This reverts commit 7b0b31e8d96dd14e911aeb6b38424167d4dddce0.
2022-12-28 21:22:04 -08:00
4c39c1abd6 Use arr.all() instead of np.all(arr) 2022-12-28 21:06:51 -08:00
596aea3bf5 Update to bezier 2022-12-28 21:06:36 -08:00
7b0b31e8d9 Allow for file_writing to use multiple thread 2022-12-28 21:05:03 -08:00
d6b308ed47 Update elements of VMobject.shader_wrapper_list with depth_test and appropriate uniforms 2022-12-28 19:40:33 -08:00
cc9a4501ad Have **kwargs in matrix pass on to elements 2022-12-28 19:40:02 -08:00
8226396382 Merge pull request #1950 from 3b1b/video-work
Miscellaneous fixes and tweaks
2022-12-28 19:26:17 -08:00
e76b673e63 Change axes height in GraphExample 2022-12-28 19:22:49 -08:00
a6ee54488b Add deep option to VMobject.copy 2022-12-28 19:22:41 -08:00
4f37486655 Have VMobject keep track of a shader_wrapper_list 2022-12-28 19:18:20 -08:00
a92a506224 Don't distinguish stroke uniforms from fill uniforms 2022-12-28 19:17:52 -08:00
8fc243e398 Make anti_alias_width a Mobject uniform, rather than a camera attribute 2022-12-28 18:52:05 -08:00
1180932026 Fix antialiasing issue with straight lines in text 2022-12-28 16:37:44 -08:00
e59b3d2ac0 Update TexTransformExample 2022-12-28 13:39:53 -08:00
926f3515bf Write new TransformMatchingStrings 2022-12-28 13:39:46 -08:00
c7ba775845 In StringMobject.select_parts, default to using select_unisolated_substring if substring was not explicitly isolated 2022-12-28 13:39:13 -08:00
05f02f5154 Fix ShaderWrapper.combine_with 2022-12-28 13:38:27 -08:00