5202 Commits

Author SHA1 Message Date
ae2a253fb1 Just pass one bevel parameter rather than two 2023-01-08 21:56:38 -05:00
0136cef1d9 Minor simplifications for stroke shader 2023-01-08 21:53:43 -05:00
2bf1f5eb40 Make sure pointwise_become_partial doesn't needlessly refresh joint angles 2023-01-08 21:29:35 -05:00
21051ce289 Performance improvement for get_joint_angles 2023-01-08 21:29:08 -05:00
9e7cd1399d Add arr_clip (faster alternative to np.clip) 2023-01-08 21:27:56 -05:00
d5fdc75164 Remove the need to track previous and next joints in stroke shader 2023-01-08 20:29:31 -05:00
cae13aa1f0 Add space 2023-01-08 10:15:22 -05:00
9b2495abb1 Remove "orientation" from locked_keys when recomputed
Rather than re-reading into fill_data
2023-01-05 08:46:12 -05:00
f5455bb554 Avoid using set_points in Rotation 2023-01-05 08:29:59 -05:00
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
0c1abebd95 Don't save last frame by default 2023-01-04 16:39:59 -08:00
1cf89abf53 No need to track vertex index manually 2023-01-04 16:39:59 -08:00
c30b102458 Use re.sub instead of looping over re.findall 2023-01-04 16:39:59 -08:00
bf5d587204 Merge pull request #1957 from 3b1b/video-work
Refactor TransformMatchingStrings/TransformMatchingShapes
2023-01-02 09:38:08 -08:00
abf1dd3d8b Typo fix 2023-01-02 09:32:10 -08:00
a31c4ae3c2 Add more indexing details to TexTransformExample 2022-12-30 15:19:29 -08:00
4c1f1f8749 Clean up TransformMatchingStrings 2022-12-30 15:09:07 -08:00
3aa9eb6372 Add String.get_symbol_substrings and Tex.get_symbol_substrings 2022-12-30 15:07:41 -08:00
4335e85659 Abstract away logic of TransformMatchingStrings to a new version of TransformMatchingParts 2022-12-30 13:54:55 -08:00
96bc95ef38 Allow FadeTransform to group parts as VGroup if applicable 2022-12-30 13:53:32 -08:00
cec43dfe51 Use Vect3 type in fading.py 2022-12-30 13:53:12 -08:00
50960eefd4 Merge pull request #1953 from 3b1b/video-work
More tweaks and fixes
2022-12-29 21:00:00 -08:00
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