Grant Sanderson
|
1f8ad5be16
|
Fix pfp for null curves
|
2024-09-21 12:17:10 -04:00 |
|
Grant Sanderson
|
217eb6b486
|
Move new VectorField from optics projects into main repo
|
2024-09-21 12:16:09 -04:00 |
|
Grant Sanderson
|
95fca885c9
|
Push clip plane functionality up to all Mobjects
|
2024-09-17 17:20:19 -05:00 |
|
Grant Sanderson
|
8eac976c8d
|
Tweak moderngl import in ImageMobject
|
2024-09-06 13:35:32 -05:00 |
|
Grant Sanderson
|
bcf610d1ad
|
Merge branch 'master' into patch-8
|
2024-09-06 11:03:19 -07:00 |
|
Grant Sanderson
|
1f55832a6a
|
Clean up around z_index
|
2024-09-06 12:20:26 -05:00 |
|
Grant Sanderson
|
aebf2220a6
|
Merge pull request #2057 from germanzhu/add-zorder-mobject
add zorder to mobject
|
2024-09-06 10:11:40 -07:00 |
|
Grant Sanderson
|
c8326d1cce
|
zorder -> z_index
|
2024-09-06 10:11:26 -07:00 |
|
Grant Sanderson
|
133cec9725
|
zorder -> z_index
|
2024-09-06 10:11:21 -07:00 |
|
Grant Sanderson
|
9011c864fd
|
Merge pull request #2061 from floatwoozy/dev
Error effect when rendering the same ImageMobject
|
2024-09-06 09:35:31 -07:00 |
|
Grant Sanderson
|
76fdd02db0
|
Go back to default fill border width of 0, except for String
|
2024-09-06 09:17:28 -05:00 |
|
Grant Sanderson
|
a713868f3d
|
Add Mobject.get_opacities
|
2024-09-06 09:12:23 -05:00 |
|
Grant Sanderson
|
054261d86f
|
Add zero point edge case for point_from_proportion
|
2024-08-29 14:10:37 -05:00 |
|
Grant Sanderson
|
04d77f2bec
|
Fix joint angle for lines
|
2024-08-28 11:57:23 -05:00 |
|
Grant Sanderson
|
1e996dcd27
|
Fix Arrow.set_perpendicular_to_camera
|
2024-08-28 11:56:25 -05:00 |
|
Grant Sanderson
|
e85a1ce1b7
|
Add Arrow.set_perpendicular_to_camera
|
2024-08-28 10:50:51 -05:00 |
|
Grant Sanderson
|
22a6b47ec9
|
Always recompute unit normals on rotate
|
2024-08-26 11:46:43 -05:00 |
|
Grant Sanderson
|
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 |
|
Grant Sanderson
|
36ea70d990
|
Remove whitespace
|
2024-08-26 09:14:53 -05:00 |
|
Grant Sanderson
|
cd5c436ce4
|
Tighter (albeit arbitrary) constraint on path end detection
This is really not great
|
2024-08-26 09:14:42 -05:00 |
|
Grant Sanderson
|
827f4db5e2
|
Clarify where normal is being inverted
|
2024-08-26 09:13:39 -05:00 |
|
Grant Sanderson
|
8785eb1844
|
Don't have quiet default changes to stroke_behind
|
2024-08-23 14:46:34 -05:00 |
|
Grant Sanderson
|
566fc87a60
|
Don't keep an outer_vert_indices attribute
|
2024-08-23 14:11:05 -05:00 |
|
Grant Sanderson
|
499803159c
|
Remove methods and tracking associated with triangulation and non-winding fill
|
2024-08-23 14:08:56 -05:00 |
|
Grant Sanderson
|
487c714d9b
|
Remove stray new line
|
2024-08-23 13:56:16 -05:00 |
|
Grant Sanderson
|
e939e1de09
|
Tweak the correction for angle_diffs in get_joint_angles
|
2024-08-23 13:56:08 -05:00 |
|
Grant Sanderson
|
c26ebfc10f
|
Have is_closed use the last path
|
2024-08-23 13:55:42 -05:00 |
|
Grant Sanderson
|
a08523d746
|
Fix get_subpath_end_indices_from_points
|
2024-08-23 13:29:31 -05:00 |
|
Grant Sanderson
|
bcafcbf490
|
Don't have VMobject refresh joint angles on shift, scale and rotate
|
2024-08-23 12:32:17 -05:00 |
|
Grant Sanderson
|
9a7bfdd1c9
|
For Surface, calculate normals with neighboring points
|
2024-08-22 15:21:40 -05:00 |
|
Grant Sanderson
|
c8d5e91422
|
Rename shader_dtype -> data_dtype
|
2024-08-22 14:52:35 -05:00 |
|
Grant Sanderson
|
eda7f81fb9
|
Update VMobject.is_smooth
|
2024-08-21 17:22:34 -05:00 |
|
Grant Sanderson
|
d5575cf1ef
|
Change how joint_angles are computed
|
2024-08-21 17:19:42 -05:00 |
|
Grant Sanderson
|
442206faad
|
Go back to non-flat-stroke as the default
|
2024-08-21 16:05:02 -05:00 |
|
Grant Sanderson
|
ceac4fbe1a
|
Fix up FillArrow
|
2024-08-21 15:58:57 -05:00 |
|
Grant Sanderson
|
22ee13a884
|
Have FillArrow take the place of StrokeArrow as the main Arrow
|
2024-08-21 14:52:54 -05:00 |
|
Grant Sanderson
|
eea8416d57
|
Default to allowing null lines, except for SVGPaths
|
2024-08-21 14:44:33 -05:00 |
|
Grant Sanderson
|
b3386ad7a7
|
Add an option for VMobject.add_line to add a null line
|
2024-08-21 14:29:40 -05:00 |
|
Grant Sanderson
|
c83d03aeb7
|
Simplify get_subpath_end_indices_from_points
|
2024-08-21 14:29:16 -05:00 |
|
Grant Sanderson
|
0a89725090
|
Tweaking what triggers refreshes
|
2024-08-21 13:57:54 -05:00 |
|
Grant Sanderson
|
0cb7a8f691
|
Only recompute subpath_end_indices as needed
|
2024-08-21 13:44:24 -05:00 |
|
Grant Sanderson
|
43f1704f69
|
Fix computation of joint_angles to handle zero division case
|
2024-08-21 13:44:00 -05:00 |
|
Grant Sanderson
|
941513d68c
|
Only recompute VMobject.get_unit_normal as needed
|
2024-08-21 12:26:42 -05:00 |
|
Grant Sanderson
|
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 |
|
Grant Sanderson
|
748780378b
|
Have stroke_behind default to True for VMobjects with fill and no stroke
|
2024-08-21 08:43:57 -05:00 |
|
Grant Sanderson
|
d0cb5b4eea
|
Fix normal orientation on Surface
|
2024-08-20 14:47:47 -05:00 |
|
Grant Sanderson
|
35ce4c6704
|
Use Mobject.set_uniform in Mobject.set_shading
|
2024-08-20 14:44:48 -05:00 |
|
Grant Sanderson
|
7ddbd13e38
|
Ensure mobject uniforms get passed to ShaderWrapper on init
|
2024-08-20 14:44:09 -05:00 |
|
Grant Sanderson
|
304856e6e0
|
Remove indices_list argument on ShaderWrapper.read_in
|
2024-08-20 14:21:37 -05:00 |
|
Grant Sanderson
|
0a585b123c
|
Use stash_mobject_pointers on Mobject.deepcopy
|
2024-08-20 12:15:37 -05:00 |
|