464 Commits

Author SHA1 Message Date
916ab94efd Remove white space 2023-10-09 14:17:44 -05:00
39e5d24858 Factor out partial results from point_from_proportion 2023-09-04 21:16:18 -07:00
295a0f76cc Formatting tweak 2023-09-04 21:15:53 -07:00
2b00a9cf80 Fix add_curve_to 2023-09-04 21:15:43 -07:00
5f41e238ba Improve VMobject.add_arc_to 2023-09-04 20:49:36 -04:00
690eb24562 Add VMobject.add_arc_to method 2023-09-04 19:31:40 -04:00
0a642133ad Add scale_radii method for DotCloud 2023-09-04 18:46:28 -04:00
eafd09549d Handle make_jagged for empty VMobjects 2023-08-15 20:40:01 -07:00
f2ad9a70f7 Small format fix 2023-08-15 20:39:27 -07:00
3e64111952 Change default on VMobject to no depth test 2023-06-10 09:22:55 -07:00
6f8ea7433d Small formatting tweaks 2023-06-10 09:22:34 -07:00
bae3b98c0b Fixes to Surface 2023-06-10 09:22:15 -07:00
b216b8f7e3 Reset default in set_style to stroke_background = False 2023-02-24 08:23:24 -05:00
c372ef4aaa Faster VMobject.get_arc_length 2023-02-16 15:02:30 -08:00
b39fbb62f4 Ensure joint_products are refreshed for _AnimationBuilder 2023-02-09 15:16:10 -08:00
f2c07afe74 add 'return self' 2023-02-08 19:39:49 -08:00
1844f7fd64 Fix for https://github.com/3b1b/manim/issues/1991 2023-02-08 10:39:07 -08:00
772ea792d0 Add check for null VMobject in shader init 2023-02-02 21:12:42 -08:00
c4777015fc FIx Mobject.replace_shader_code 2023-02-02 20:47:55 -08:00
3d0fe27c55 Simplify VMobject.set_rgba_array 2023-02-02 18:23:41 -08:00
4629e08769 Ensure joint_products are computed at both the start and end of an animation 2023-02-02 18:17:12 -08:00
7f940fbee4 Change how ShaderWrapper uniforms are handled 2023-02-02 17:45:52 -08:00
1dcc678b2f Make sure animating a VGroup uniforms will have an effect 2023-02-02 16:18:09 -08:00
bd89056c8e Only recalculate outer_vert_indices when points are resized 2023-02-02 14:29:37 -08:00
b9d6dcd67d Save _has_fill and _has_stroke to prevent unnecessary recalculation 2023-02-02 14:26:08 -08:00
4ec2e8b0c5 Merge branch 'master' of github.com:3b1b/manim into video-work 2023-02-02 11:22:58 -08:00
ab6a7df4af Use typing_extensions to import Self for python versions <3.11 2023-02-02 10:54:47 -08:00
9c03a40d68 Account for unnecessary calls to use_winding_fill 2023-02-02 10:39:30 -08:00
f4a6f99b54 Check _use_winding_fill on the submobject level 2023-02-01 20:11:50 -08:00
c062592684 Draw border width behind fill 2023-02-01 11:36:54 -08:00
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
c8d1ee5c88 No longer any need for specialized invisible_copy 2023-01-31 20:16:05 -08:00
f858a439dd Make alignment between VMobjects conducive to smoother interpolation 2023-01-31 20:15:48 -08:00
4c327cd5d2 Merge branch 'add-self-type' into video-work 2023-01-31 14:26:31 -08:00
af585ca3a1 Add Self type to dot_cloud.py and point_cloud_mobject.py 2023-01-31 13:49:48 -08:00
3779577d9f Add Self type to surface.py 2023-01-31 13:47:25 -08:00
b58224f6c8 Add Self type to vectorized_mobject.py 2023-01-31 13:43:54 -08:00
60aae748a7 Make sure animations will trigger a refresh for joint products 2023-01-31 12:49:02 -08:00
2d0bdfbdb6 Merge branch 'glitch-fix' into video-work 2023-01-31 11:59:54 -08:00
9e5fca6750 Merge branch 'type-error-fix' into video-work 2023-01-31 11:58:09 -08:00
2cbad30f45 Change VMobject rendering mode to TRIANGLES
And set indices appropriately when reading in to the ShaderWrapper
2023-01-31 11:45:53 -08:00
76ee97adfa Possible fix for a type error 2023-01-31 08:48:57 -08:00
e7734ca84c Fix TexturedSurface 2023-01-30 20:57:21 -08:00
5ff44f5850 Divide by epsilon prior to normalizing 2023-01-30 20:51:04 -08:00
55da5d5d03 Remove use of dv_points and du_points, pass unit normals to shader instead 2023-01-30 20:49:32 -08:00
b3dec3fd51 Small fixes 2023-01-28 17:53:49 -08:00
c6db74c996 Re-order conditional blocks 2023-01-28 13:06:23 -08:00
8d72340501 Remove some references to triangulation 2023-01-28 12:43:56 -08:00
2a3f927566 Set defaults so that VMobjects will have no antialias width when depth test is turned on 2023-01-28 11:39:31 -08:00
c7ef4eefbc Add getter/setter for anti_alias_width 2023-01-28 11:35:26 -08:00