5151 Commits

Author SHA1 Message Date
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
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
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
34d8ab81f9 Fix for num_tex_symbols 2022-12-28 13:38:15 -08:00
44dc22e5e4 Rename local_unit_normal to unit_normal 2022-12-28 11:17:55 -08:00
4d65ceabf7 Include zero in orientation checks 2022-12-28 11:17:45 -08:00
b96a65d576 Tweaks to quadratic_bezier_geometry_functions 2022-12-28 11:16:53 -08:00
c8c96fe645 Tweaks to get_unit_normal 2022-12-28 11:16:24 -08:00
6204011fe4 Don't check point equality in triggers_refreshed_triangulation 2022-12-28 10:15:03 -08:00
083de38e4c Remove "arbitrary-seeming branching" 2022-12-28 10:05:44 -08:00
7dc1fe21bd Change angle threshold for determining bezier degree 2022-12-28 09:31:20 -08:00
a6e21b2ccd Change Mobject.append_points
For future plans, it may be nicest for data["points"] to only ever get redefined by Mobject.resize_points
2022-12-28 09:22:22 -08:00
97be203b57 Add type hint 2022-12-28 08:45:18 -08:00
61155f5c72 Simplify Mobject.set_points 2022-12-28 08:45:05 -08:00
966e2c9790 Update VMobject.has_fill and has_stroke 2022-12-27 22:18:54 -08:00
e73ae78987 Update Mobject.has_points 2022-12-27 22:18:41 -08:00
816f6eb297 Use ShaderWrapper.read_in instead of combine_with
Improves speed
2022-12-27 21:40:34 -08:00
e54e04a5ce Add ShaderWrapper.read_in
This will function similarly to combine_with, but without necessarily having to allocate new memory
2022-12-27 21:39:20 -08:00
49d4472e7e Add StringMobject.get_specified_substrings 2022-12-27 19:13:09 -08:00
6044e475a4 Tiny VMobject.has_stroke update 2022-12-27 19:12:55 -08:00
8c44834554 Compute triangulation before replicating 2022-12-27 19:12:36 -08:00
795f6e2490 Remove unit_normal attribute 2022-12-27 19:12:00 -08:00
6d50be55d3 Small inconsequential edits to get_triangulation 2022-12-27 15:54:12 -08:00
f2859a9a8c Give default curve orientation of 1 2022-12-27 15:53:24 -08:00
33a92d3ab3 Small cleanup in camera.py 2022-12-27 14:53:55 -08:00
934a73ddb8 Remove stray import 2022-12-27 14:29:13 -08:00
2b67aa0e01 Type hints for Window class variables 2022-12-26 09:40:11 -07:00
3bf5ce5776 Fix TexMobject.select_unisolated_substring for substrings with escape characters 2022-12-26 09:02:00 -07:00
db0770a4fd Remove **kwargs from Mobject.__init__ 2022-12-26 07:58:40 -07:00
a2bdf54025 Remove unused parameter 2022-12-26 07:58:30 -07:00
22c67df2ad Simplify Scene.remove to not require a Mobject.get_ancestors call 2022-12-26 07:46:40 -07:00
fcff44a66b Merge pull request #1943 from 3b1b/string-mobject-refactor
StringMobject refactor
2022-12-23 17:11:30 -08:00