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
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
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
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
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
Grant Sanderson
7519ce15da
Merge branch 'master' of github.com:3b1b/manim into unify-vbo
2024-08-26 10:20:44 -05:00
Grant Sanderson
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
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
441ac77eae
Change Euler axis limits for xz flat plane
2024-08-26 08:22:29 -05:00
Grant Sanderson
51de1fb650
For some reason RenderGroups must be groups for camera reorientation to function
2024-08-23 14:56:35 -05:00
Grant Sanderson
8785eb1844
Don't have quiet default changes to stroke_behind
2024-08-23 14:46:34 -05:00
Grant Sanderson
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
Grant Sanderson
513de19657
Clarify that ShaderWrapper id is an int
2024-08-23 14:44:00 -05:00
Grant Sanderson
fcc5dc00f9
Treat objects fixed in frame as having flat stroke
2024-08-23 14:17:26 -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
5d6a1f30c4
Count joints near 180 degrees as straight
2024-08-23 13:55:10 -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
ada66ee8fb
Remove stray comment
2024-08-22 15:31:10 -05:00
Grant Sanderson
bd2947be28
Use preferred group type for FadeTransform
2024-08-22 15:31:03 -05:00
Grant Sanderson
9a7bfdd1c9
For Surface, calculate normals with neighboring points
2024-08-22 15:21:40 -05:00