Commit graph

1542 commits

Author SHA1 Message Date
Grant Sanderson
1eb819363d Fix issue with ticks going beyond number line 2023-02-24 08:23:01 -05:00
Grant Sanderson
a79d4a862f Keep track of dots in DieFace 2023-02-24 08:22:24 -05:00
Grant Sanderson
c372ef4aaa Faster VMobject.get_arc_length 2023-02-16 15:02:30 -08:00
Grant Sanderson
01c51dbc6d animation.update_config -> animation.update_rate_info 2023-02-09 15:16:51 -08:00
Grant Sanderson
ad409999dc Small tweak 2023-02-09 15:16:33 -08:00
Grant Sanderson
b39fbb62f4 Ensure joint_products are refreshed for _AnimationBuilder 2023-02-09 15:16:10 -08:00
Grant Sanderson
f2c07afe74 add 'return self' 2023-02-08 19:39:49 -08:00
Grant Sanderson
169e7a302b Give ThreeDAxes flat stroke by default 2023-02-08 19:39:37 -08:00
Grant Sanderson
0ce972991b Remove num_axis_pieces arg from ThreeDAxes 2023-02-08 19:39:22 -08:00
Grant Sanderson
1844f7fd64 Fix for https://github.com/3b1b/manim/issues/1991 2023-02-08 10:39:07 -08:00
Grant Sanderson
3bf9e40aba Add more lenient tolerance to Mobject.has_same_shape_as 2023-02-03 17:35:20 -08:00
Grant Sanderson
772ea792d0 Add check for null VMobject in shader init 2023-02-02 21:12:42 -08:00
Grant Sanderson
c4777015fc FIx Mobject.replace_shader_code 2023-02-02 20:47:55 -08:00
Grant Sanderson
88959df7a8 Use set_color instead of set_rgba_array in vector_field 2023-02-02 18:24:12 -08:00
Grant Sanderson
3d0fe27c55 Simplify VMobject.set_rgba_array 2023-02-02 18:23:41 -08:00
Grant Sanderson
4629e08769 Ensure joint_products are computed at both the start and end of an animation 2023-02-02 18:17:12 -08:00
Grant Sanderson
7f940fbee4 Change how ShaderWrapper uniforms are handled 2023-02-02 17:45:52 -08:00
Grant Sanderson
1dcc678b2f Make sure animating a VGroup uniforms will have an effect 2023-02-02 16:18:09 -08:00
Grant Sanderson
ad2e7144b4 Lock uniform keys, the same way data keys are 2023-02-02 16:17:26 -08:00
Grant Sanderson
e36719a21b Use resize_points in Mobject.set_data 2023-02-02 15:37:10 -08:00
Grant Sanderson
c4d698a169 Have Transform only copy target_mobject if it must 2023-02-02 15:36:58 -08:00
Grant Sanderson
0e60b124eb Only compute const_data_keys for unlocked data 2023-02-02 15:02:55 -08:00
Grant Sanderson
63dbe3b23f More direct check for family_members_with_points 2023-02-02 14:32:55 -08:00
Grant Sanderson
bd89056c8e Only recalculate outer_vert_indices when points are resized 2023-02-02 14:29:37 -08:00
Grant Sanderson
b9d6dcd67d Save _has_fill and _has_stroke to prevent unnecessary recalculation 2023-02-02 14:26:08 -08:00
Grant Sanderson
4ec2e8b0c5 Merge branch 'master' of github.com:3b1b/manim into video-work 2023-02-02 11:22:58 -08:00
Grant Sanderson
ab6a7df4af Use typing_extensions to import Self for python versions <3.11 2023-02-02 10:54:47 -08:00
Grant Sanderson
b499caaa45 Have SVG subdivide intersections if winding fill is not a default 2023-02-02 10:40:09 -08:00
Grant Sanderson
9c03a40d68 Account for unnecessary calls to use_winding_fill 2023-02-02 10:39:30 -08:00
Grant Sanderson
47672d3b1e Add checks for setting submobjects with existing list 2023-02-01 22:52:59 -08:00
Grant Sanderson
f4a6f99b54 Check _use_winding_fill on the submobject level 2023-02-01 20:11:50 -08:00
Grant Sanderson
40bcb7e0f3 Accept list of Vect3 as an input to Mobject.set_points 2023-02-01 13:02:56 -08:00
Grant Sanderson
9ef14c7260 Change default h_buff on Matrix 2023-02-01 11:38:54 -08:00
Grant Sanderson
c062592684 Draw border width behind fill 2023-02-01 11:36:54 -08:00
Grant Sanderson
280090a7c9 Small reorganization to VMobject.get_shader_wrapper_list, and default to fill border being drawn up front 2023-02-01 11:24:46 -08:00
Grant Sanderson
04733ac32e Default to fully opaque background rectangle 2023-02-01 11:20:09 -08:00
Grant Sanderson
c8d1ee5c88 No longer any need for specialized invisible_copy 2023-01-31 20:16:05 -08:00
Grant Sanderson
f858a439dd Make alignment between VMobjects conducive to smoother interpolation 2023-01-31 20:15:48 -08:00
Grant Sanderson
93e65fa3e7 Prevent needless extra copying in Mobject.copy 2023-01-31 15:37:23 -08:00
Grant Sanderson
077f264890 In Mobject.become, match needs_new_bounding_box status 2023-01-31 14:48:26 -08:00
Grant Sanderson
1e46847a69 Use Iterator type for Mobject.__iter__ 2023-01-31 14:32:32 -08:00
Grant Sanderson
4c327cd5d2 Merge branch 'add-self-type' into video-work 2023-01-31 14:26:31 -08:00
Grant Sanderson
015a7487e7 Remove stray import 2023-01-31 14:20:40 -08:00
Grant Sanderson
468fdf9003 Add Self type to value_tracker.py 2023-01-31 14:19:58 -08:00
Grant Sanderson
031adda503 Small fixes to three_dimensions.py 2023-01-31 14:19:24 -08:00
Grant Sanderson
0452012d54 Add Self type to shape_matchers.py 2023-01-31 14:18:02 -08:00
Grant Sanderson
576d8c996b Add Self type to numbers.py 2023-01-31 14:16:15 -08:00
Grant Sanderson
74a11bb05c Add Self type to matrix.py 2023-01-31 14:13:47 -08:00
Grant Sanderson
6a42ef846a Add Self type to geometry.py 2023-01-31 14:12:41 -08:00
Grant Sanderson
da6875ca55 Add Self type to coordinate_systems.py 2023-01-31 14:08:22 -08:00