Commit graph

1731 commits

Author SHA1 Message Date
Grant Sanderson
129e512b0c Add caching functionality, and have Tex and Text both use it for saved svg strings 2024-12-04 19:51:01 -06:00
Grant Sanderson
88370d4d5d Have StringMobject work with svg strings rather than necessarily writing to file
Change SVGMobject to allow taking in a string of svg code as an input
2024-12-04 19:11:21 -06:00
Grant Sanderson
85638d88dc Update parameter range for sphere 2024-11-25 12:39:41 -07:00
Grant Sanderson
54c8a9014b Add scale_stroke_with_zoom option to VMobject 2024-11-25 11:27:11 -07:00
Grant Sanderson
e19ceaaff0 Have TexMobject keep track of font_size 2024-11-25 11:02:54 -07:00
Grant Sanderson
5b88d2347c Allow for LaTeX in DecimalNumber, e.g. for units 2024-11-25 11:01:38 -07:00
Grant Sanderson
c6b9826f84 Update TimeVaryingVectorField to match new VectorField configuration 2024-11-25 10:50:12 -07:00
Grant Sanderson
90ab2f64bb Clean up style arguments on VectorField 2024-11-25 10:49:29 -07:00
Grant Sanderson
1d0deb8a33 Remove OldVectorfield 2024-11-25 10:14:23 -07:00
Grant Sanderson
753a042dbe Remove unused method 2024-11-25 10:13:44 -07:00
Grant Sanderson
55b12c902c Use density as a parameter instead of step_multiple 2024-11-25 10:13:37 -07:00
Grant Sanderson
0ad5a0e76e Further development on VectorField 2024-11-15 09:07:46 -08:00
Grant Sanderson
64ae1364ca Update the Vector Field interface 2024-11-12 11:21:19 -08:00
Grant Sanderson
b84376d6fd Add Cone 2024-11-08 14:28:17 -06:00
Grant Sanderson
9475fcd19e Have clip plane recurse through family 2024-11-08 14:27:20 -06:00
Grant Sanderson
99493fc4f7 Fix issue with Difference
https://github.com/3b1b/manim/issues/2174
2024-10-10 15:13:33 -05:00
Grant Sanderson
09e9e65ba4 Merge branch 'master' of github.com:3b1b/manim into video-work 2024-10-01 13:29:42 -05:00
Grant Sanderson
641c03a95b Change condition for updating VMobject. outer_vert_indices 2024-10-01 13:27:02 -05:00
Grant Sanderson
f737823bac Add VMobject. get_shader_vert_indices 2024-10-01 13:20:23 -05:00
Grant Sanderson
95bb67c47f Change return type for Mobject.get_shader_data 2024-10-01 13:18:40 -05:00
Grant Sanderson
512fb89726 Save VMobject. outer_vert_indices 2024-10-01 13:14:24 -05:00
Grant Sanderson
bddd9c35ea Tiny formatting 2024-10-01 13:04:50 -05:00
Grant Sanderson
f0bf50eb7f Remove use of gl_VertexID 2024-09-28 09:54:28 -05:00
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