6076 Commits

Author SHA1 Message Date
054261d86f Add zero point edge case for point_from_proportion 2024-08-29 14:10:37 -05:00
04d77f2bec Fix joint angle for lines 2024-08-28 11:57:23 -05:00
1e996dcd27 Fix Arrow.set_perpendicular_to_camera 2024-08-28 11:56:25 -05:00
e85a1ce1b7 Add Arrow.set_perpendicular_to_camera 2024-08-28 10:50:51 -05:00
22a6b47ec9 Always recompute unit normals on rotate 2024-08-26 11:46:43 -05:00
55a798676a Always stop skipping after checkpoint_paste 2024-08-26 11:41:50 -05:00
5cf5e497e7 Don't have joint_angles, unit_normal and path_end_indices get refreshed for shift/scale/rotate
Change unit_normal directly in rotate
In general, don't trigger refresh on apply_points_function
2024-08-26 11:41:32 -05:00
7519ce15da Merge branch 'master' of github.com:3b1b/manim into unify-vbo 2024-08-26 10:20:44 -05:00
f86245517d Merge pull request #2147 from osMrPigHead/fix-animation-time_span
fix(animation): `time_span` doesn't work for mobjects with submobjects
2024-08-26 08:20:11 -07:00
36ea70d990 Remove whitespace 2024-08-26 09:14:53 -05:00
cd5c436ce4 Tighter (albeit arbitrary) constraint on path end detection
This is really not great
2024-08-26 09:14:42 -05:00
827f4db5e2 Clarify where normal is being inverted 2024-08-26 09:13:39 -05:00
441ac77eae Change Euler axis limits for xz flat plane 2024-08-26 08:22:29 -05:00
51de1fb650 For some reason RenderGroups must be groups for camera reorientation to function 2024-08-23 14:56:35 -05:00
8785eb1844 Don't have quiet default changes to stroke_behind 2024-08-23 14:46:34 -05:00
a823901b98 Only form render groups from Mobjects of the same type
I.e. bias against forming such groups
2024-08-23 14:45:27 -05:00
513de19657 Clarify that ShaderWrapper id is an int 2024-08-23 14:44:00 -05:00
fcc5dc00f9 Treat objects fixed in frame as having flat stroke 2024-08-23 14:17:26 -05:00
566fc87a60 Don't keep an outer_vert_indices attribute 2024-08-23 14:11:05 -05:00
499803159c Remove methods and tracking associated with triangulation and non-winding fill 2024-08-23 14:08:56 -05:00
487c714d9b Remove stray new line 2024-08-23 13:56:16 -05:00
e939e1de09 Tweak the correction for angle_diffs in get_joint_angles 2024-08-23 13:56:08 -05:00
c26ebfc10f Have is_closed use the last path 2024-08-23 13:55:42 -05:00
5d6a1f30c4 Count joints near 180 degrees as straight 2024-08-23 13:55:10 -05:00
a08523d746 Fix get_subpath_end_indices_from_points 2024-08-23 13:29:31 -05:00
bcafcbf490 Don't have VMobject refresh joint angles on shift, scale and rotate 2024-08-23 12:32:17 -05:00
e4007f6915 Add glow dot to show light in SurfaceExample 2024-08-22 15:31:22 -05:00
ada66ee8fb Remove stray comment 2024-08-22 15:31:10 -05:00
bd2947be28 Use preferred group type for FadeTransform 2024-08-22 15:31:03 -05:00
9a7bfdd1c9 For Surface, calculate normals with neighboring points 2024-08-22 15:21:40 -05:00
c8d5e91422 Rename shader_dtype -> data_dtype 2024-08-22 14:52:35 -05:00
09bed1f8f4 Allow more file_writer configuration in default_config.yml 2024-08-22 14:24:26 -05:00
eda7f81fb9 Update VMobject.is_smooth 2024-08-21 17:22:34 -05:00
d5575cf1ef Change how joint_angles are computed 2024-08-21 17:19:42 -05:00
11df256369 Fix error rect 2024-08-21 16:49:08 -05:00
cfe70ca869 Don't let Write override stroke_behind default 2024-08-21 16:47:51 -05:00
bda894959b Keeps stroke width as a function of pixels, independent of zoom level 2024-08-21 16:12:56 -05:00
d870bb29de Fix the non-flat stroke edge case for tangents near line of sight 2024-08-21 16:12:13 -05:00
442206faad Go back to non-flat-stroke as the default 2024-08-21 16:05:02 -05:00
ceac4fbe1a Fix up FillArrow 2024-08-21 15:58:57 -05:00
22ee13a884 Have FillArrow take the place of StrokeArrow as the main Arrow 2024-08-21 14:52:54 -05:00
eea8416d57 Default to allowing null lines, except for SVGPaths 2024-08-21 14:44:33 -05:00
b3386ad7a7 Add an option for VMobject.add_line to add a null line 2024-08-21 14:29:40 -05:00
c83d03aeb7 Simplify get_subpath_end_indices_from_points 2024-08-21 14:29:16 -05:00
0a89725090 Tweaking what triggers refreshes 2024-08-21 13:57:54 -05:00
0cb7a8f691 Only recompute subpath_end_indices as needed 2024-08-21 13:44:24 -05:00
43f1704f69 Fix computation of joint_angles to handle zero division case 2024-08-21 13:44:00 -05:00
941513d68c Only recompute VMobject.get_unit_normal as needed 2024-08-21 12:26:42 -05:00
9a5386b022 Instead of passing in joint_products to stroke shader, just track joint_angles and pass in global unit normal 2024-08-21 11:59:48 -05:00
67bedc6d1f Fix fill_depth_vert_format 2024-08-21 09:14:23 -05:00