2371 Commits

Author SHA1 Message Date
c9ba32b568 No need to call tobytes 2023-01-14 08:31:53 -08:00
19a7721661 Fix unit normal issue with bezier fill 2023-01-14 08:00:21 -08:00
c8238f6b39 Consolidate lighting uniforms 2023-01-14 07:57:47 -08:00
d19b244ee1 Move uniform pixel_shape declaration outside of get_gl_Position 2023-01-13 22:11:13 -08:00
a004c88e02 Consolidate functions associated with computing gl_Position 2023-01-13 22:07:28 -08:00
fa81d9f6ea Move comment 2023-01-13 21:43:01 -08:00
3555936c4d Check for valid inputs to arccos 2023-01-13 21:42:54 -08:00
dae51abc17 Allow for a clip plane with Surface 2023-01-13 21:42:34 -08:00
1c1325ff8d More coloring work of Surface to vert shader 2023-01-13 21:04:36 -08:00
28d5baeeff Small stylistic tweaks 2023-01-13 21:04:15 -08:00
51efe0d18e Merge branch 'master' of github.com:3b1b/manim into video-work 2023-01-13 20:42:03 -08:00
12c3af9647 Update to get_subpath_end_indices_from_points 2023-01-13 20:35:54 -08:00
42909a94ac No need for np.repeat in normalize_along_axis 2023-01-13 20:34:18 -08:00
071e7f1a74 Small tweak for get_joint_angles 2023-01-13 20:33:36 -08:00
2aa2eedbbd Calculate unit normal more directly 2023-01-13 17:42:59 -08:00
e534206eb6 Small style change to get_xy_to_uv 2023-01-13 17:37:08 -08:00
394d87effb Small style tweaks to quadratic_bezier_fill/geom 2023-01-13 17:26:59 -08:00
e832bb775f Fix small bug with null triangles 2023-01-13 16:53:22 -08:00
31cc2671e5 Have line_intersects_path not assume closed path 2023-01-13 16:35:18 -08:00
937b894826 Clean up find_intersection 2023-01-13 16:35:01 -08:00
599f74c749 Refresh bounding boxes after selection 2023-01-13 14:59:53 -08:00
91f976f7e9 Don't include bounding box in Mobject.data
In principle, Mobject.data should just carry information that will pass to shaders
2023-01-13 14:58:52 -08:00
cbfe82579f Make sure VMobject.reverse_points works with new path convention 2023-01-13 14:16:04 -08:00
ae99c8cd2e Go back to use_simple_quadratic_approx being set at the Text level 2023-01-13 14:08:29 -08:00
da2b13aee9 Fix triangulation issue for Annulus 2023-01-13 13:22:26 -08:00
a88b56bb04 Be sure get_triangulation is called before orientation data is read in 2023-01-13 13:22:06 -08:00
73a894c136 Set selection animating status after adding mobjects 2023-01-13 13:07:29 -08:00
c820cb4775 Don't propagate animating status to full extended family 2023-01-13 13:06:50 -08:00
69ac946e63 Simpler get_gl_Position 2023-01-13 12:41:09 -08:00
42d612f253 Clean up VMobject.get_joint_angles 2023-01-13 09:57:22 -08:00
440138aac5 Allow for tracking which data keys should always have the same size as points 2023-01-13 09:47:06 -08:00
108bb3da44 Have SVGs default to use_simple_quadratic_approx 2023-01-13 08:16:46 -08:00
e1abae1d96 Fix typo 2023-01-13 00:24:26 -08:00
c8a77a352f Fix Piano 2023-01-13 00:24:19 -08:00
d2800b6c96 Make sure cross behaves as expected on 2d arrays 2023-01-13 00:05:29 -08:00
c9a2971433 Remove stray constant 2023-01-12 23:58:49 -08:00
a12b5cca67 Add angle check in addition to use_simple_quadratic_approx 2023-01-12 23:58:43 -08:00
aa8fba5b02 Change subdivide_intersections default to one subdivision, remove second check 2023-01-12 23:58:19 -08:00
2c6e8692ce Add condition for calling subdivide_intersections 2023-01-12 23:45:26 -08:00
a44fc2e6d5 Add optional number of subdivision to subdivide_intersections 2023-01-12 23:45:03 -08:00
190b9e4603 Tiny tweak 2023-01-12 21:24:34 -08:00
f39fd92e9e Add condition to account for end of string 2023-01-12 21:24:27 -08:00
f0edc6628b Push default of use_simple_quadratic_approx being True to Text 2023-01-12 21:24:03 -08:00
9f1ab09749 Make usage of simpler quadratic approximations an option for VMobject 2023-01-12 21:06:35 -08:00
a2f3758a7a Add VMobject.subdivide_intersections 2023-01-12 21:05:19 -08:00
de4a56849e Add line_intersects_path 2023-01-12 21:04:46 -08:00
923066db2b Minor style changes to stroke geom shader 2023-01-12 19:54:32 -08:00
de5198196b Fix anti-alias width bug on DotCloud 2023-01-12 19:44:10 -08:00
a47b95044d Add assertions to assure VMobject has a valid number of points 2023-01-12 19:31:08 -08:00
db8b0e7bce Change simple quadratic approximation threshold 2023-01-12 19:24:56 -08:00