Commit graph

1758 commits

Author SHA1 Message Date
Grant Sanderson
7ff45b4637 Having changing decimal match fixed_in_frame status 2023-06-23 10:57:57 -07:00
Grant Sanderson
3e64111952 Change default on VMobject to no depth test 2023-06-10 09:22:55 -07:00
Grant Sanderson
6f8ea7433d Small formatting tweaks 2023-06-10 09:22:34 -07:00
Grant Sanderson
bae3b98c0b Fixes to Surface 2023-06-10 09:22:15 -07:00
Grant Sanderson
63f6e9d84f Add Dartboard 2023-06-10 09:21:57 -07:00
Grant Sanderson
f01b990c2e Add default Mobject.match_style 2023-06-10 09:21:45 -07:00
Grant Sanderson
fa1080d59a Be sure reverse_points changes data in place 2023-06-10 09:21:32 -07:00
Grant Sanderson
ce7422f8af Add ThreeDAxes.get_graph and .get_parametric_surface 2023-06-10 09:21:02 -07:00
Grant Sanderson
16f5890fd3 Add CoordianteSystem.get_area_under_graph
This is not perfect, since one could optionally add a different color for negative area.
2023-06-10 09:20:28 -07:00
Grant Sanderson
de8e9e5ec1 Fix error with setting bubble direction 2023-03-14 10:35:04 -07:00
Grant Sanderson
6b24860bbf Tweak default configuration for Underline 2023-03-14 10:34:44 -07:00
Grant Sanderson
0d415036a9 Ensure exact integers are displays for large values in Integer 2023-03-14 10:34:33 -07:00
Grant Sanderson
b644bb51de Update submobjects before parents 2023-03-10 11:05:07 -08:00
Grant Sanderson
392019fc6e Specify type in bind_to_graph 2023-03-10 11:04:49 -08:00
Grant Sanderson
b216b8f7e3 Reset default in set_style to stroke_background = False 2023-02-24 08:23:24 -05:00
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