Commit graph

6279 commits

Author SHA1 Message Date
Grant Sanderson
29cb6f76fe Write scene insertions into a subdirectory 2024-10-02 07:24: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
f69b189f2c
Merge pull request #2171 from 3b1b/fix-vert-index-issue
Remove use of gl_VertexID
2024-10-01 11:27:57 -07: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
cf37f34e1f Add copy cursor position option 2024-10-01 13:05:00 -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
fea7096cbe Change default animation behavior to suspend_mobject_updating=False 2024-09-28 09:48:20 -05:00
zhujisheng
ccb9977a67
Update scene.py to make scene.time more accurate
When the time intervals are (0, dt, 2dt, ...), during the first frame processing, only the video is inserted, but the update parameter is 0, which causes scene.time to be inaccurate. The correct time intervals should be (dt, 2dt, ...)
2024-09-23 23:48:18 +08: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
0804109301 Flatten uniform arrays 2024-09-21 12:15:37 -04:00
Grant Sanderson
62a4ea5165 Update description of remove_list_redundancies 2024-09-21 12:15:29 -04:00
Grant Sanderson
3e7244b90b Fix bad argument 2024-09-21 12:15:06 -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
9eda000a97
Merge pull request #1816 from TurkeyBilly/patch-8
fix label squeezed bug
2024-09-06 11:03:38 -07:00
Grant Sanderson
bcf610d1ad
Merge branch 'master' into patch-8 2024-09-06 11:03:19 -07:00
Grant Sanderson
df9acfb4d5
Merge pull request #2009 from Varniex/patch-1
Correction of indices
2024-09-06 10:59:04 -07:00
Grant Sanderson
b6e5b0f34a
Merge pull request #2036 from LinZezh1/fix_animation
Remove duplicate items
2024-09-06 10:57:32 -07:00
Grant Sanderson
6d23df0497 Clean up changes associated with fixing aspect ratio issue 2024-09-06 12:50:19 -05:00
Grant Sanderson
05a89d754e
Merge pull request #2056 from germanzhu/fix-aspect-ratio
fix aspect_ratio other than 16:9 issue
2024-09-06 10:26:07 -07:00
Grant Sanderson
2178ec2b85
Merge branch 'master' into fix-aspect-ratio 2024-09-06 10:24:42 -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
08f7cb8d3e
zorder -> z_index 2024-09-06 10:11:31 -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
9812503597
Merge pull request #2059 from germanzhu/fix_vshowpassingflash
fix VShowPassingFlash index out of bounds issue
2024-09-06 09:39:06 -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
6b88947151
Merge pull request #2079 from TangentSquared/master
Modifying requirements.txt to include the latest version of IPython.
2024-09-06 09:31:47 -07:00
Grant Sanderson
30e6c357ed
Merge pull request #2138 from MarkHoo/master
Update tex_templates.yml
2024-09-06 09:27:22 -07:00
Grant Sanderson
a5137a05f1
Merge pull request #2134 from jkjkil4/fix-there_and_back_with_pause
fix: `there_and_back_with_pause`
2024-09-06 09:25:31 -07:00
Grant Sanderson
21f9df8ccd
Merge pull request #2163 from 3b1b/unify-vbo
Refactor ShaderWrapper
2024-09-06 09:17:48 -07:00
Grant Sanderson
8f1299929f Swap window buffer after blit from another fbo 2024-09-06 11:15:38 -05:00
Grant Sanderson
e7c540f415 Move texture id tracking to ShaderWrapper
Rather than having a globally unique id for each texture, dynamically allocate new texure ids within each ShaderWrapper, so that there is no upper bound on how many textures can be used.
2024-09-06 11:07:38 -05: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
2836acc3c7 Have Write default stroke color match that of the mobject 2024-09-06 09:12:14 -05:00
Grant Sanderson
f378d33d01 Use doubled fill canvas so antialiasing doesn't depend on border width 2024-08-30 14:09:38 -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
55a798676a Always stop skipping after checkpoint_paste 2024-08-26 11:41:50 -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