Grant Sanderson
b216b8f7e3
Reset default in set_style to stroke_background = False
2023-02-24 08:23:24 -05:00
Grant Sanderson
1eb819363d
Fix issue with ticks going beyond number line
2023-02-24 08:23:01 -05:00
Grant Sanderson
a79d4a862f
Keep track of dots in DieFace
2023-02-24 08:22:24 -05:00
Grant Sanderson
3f2d15986a
Make TrueDot shading in 3d work
2023-02-16 16:47:59 -08:00
Grant Sanderson
c372ef4aaa
Faster VMobject.get_arc_length
2023-02-16 15:02:30 -08:00
Grant Sanderson
3a05352f73
Add poly_line_length function
2023-02-16 15:02:15 -08:00
Grant Sanderson
dcb58c1f4f
Remove arg_creator arg from LaggedStartMap
...
Anything that enables is better done just with LaggedStart
2023-02-15 20:55:26 -08:00
Grant Sanderson
576a26493e
Use quick_point_from_proportion in MoveAlongPath
2023-02-15 20:54:59 -08:00
Grant Sanderson
557cb66c52
Fix transparent background videos
2023-02-15 09:38:35 -08:00
Grant Sanderson
01c51dbc6d
animation.update_config -> animation.update_rate_info
2023-02-09 15:16:51 -08:00
Grant Sanderson
ad409999dc
Small tweak
2023-02-09 15:16:33 -08:00
Grant Sanderson
b39fbb62f4
Ensure joint_products are refreshed for _AnimationBuilder
2023-02-09 15:16:10 -08:00
Grant Sanderson
3e3e4de5e9
Add option for gamma correction to SceneFileWriter
2023-02-08 20:09:33 -08:00
Grant Sanderson
ded06c1f88
Give SceneFileWriter an option for saturation, and set default to 1.7
...
The colors in a scene can look a little different in a preview window vs. in the rendered file written by ffmpeg. This is mean to bring them closer together.
2023-02-08 19:41:07 -08:00
Grant Sanderson
f2c07afe74
add 'return self'
2023-02-08 19:39:49 -08:00
Grant Sanderson
169e7a302b
Give ThreeDAxes flat stroke by default
2023-02-08 19:39:37 -08:00
Grant Sanderson
0ce972991b
Remove num_axis_pieces arg from ThreeDAxes
2023-02-08 19:39:22 -08:00
Grant Sanderson
1844f7fd64
Fix for https://github.com/3b1b/manim/issues/1991
2023-02-08 10:39:07 -08:00
Grant Sanderson
d1b1df64a5
Ensure Window's scene always points back to window
...
Issues can arise in the few milliseconds of startup otherwise.
2023-02-04 16:51:14 -08:00
Grant Sanderson
4e90a77fcd
Change type hint on LaggedStart to accept any functions outputting animations
2023-02-04 16:50:12 -08:00
Grant Sanderson
7d1330fa68
Check if mobject_uniforms is None
2023-02-04 16:49:32 -08:00
Grant Sanderson
c918e84784
Change default progress bar format
2023-02-03 18:10:29 -08:00
Grant Sanderson
3bf9e40aba
Add more lenient tolerance to Mobject.has_same_shape_as
2023-02-03 17:35:20 -08:00
Grant Sanderson
fab917ccee
Improve TransformMatchingString to match longest common substrings by default
2023-02-03 17:28:27 -08:00
Grant Sanderson
b8fe7b0172
Note that restoring state affects the mobject list
2023-02-03 17:28:00 -08:00
Grant Sanderson
a54d1eddfc
Set default pixel format to yuv420p
2023-02-03 12:48:56 -08:00
Grant Sanderson
e1bb360e0b
Add CLI args for setting video codec and pixel forma
2023-02-03 12:46:01 -08:00
Grant Sanderson
12dc124d72
Revert to simple progress_description_len default
2023-02-03 11:46:03 -08:00
Grant Sanderson
bc107787cc
Clean up get_scenes_to_render
2023-02-03 11:45:47 -08:00
Grant Sanderson
b25f022859
Make it an option (default to false) to prerun a scene to calculate its number of frames
2023-02-03 11:06:07 -08:00
Grant Sanderson
7c561d3757
Edit set_program_uniform
2023-02-03 11:05:40 -08:00
Grant Sanderson
ac3db9b636
Add set_program_uniform function
2023-02-02 21:13:18 -08:00
Grant Sanderson
772ea792d0
Add check for null VMobject in shader init
2023-02-02 21:12:42 -08:00
Grant Sanderson
ee08c552bf
Remove ShaderWrapper.get_program_id
2023-02-02 20:49:13 -08:00
Grant Sanderson
c4777015fc
FIx Mobject.replace_shader_code
2023-02-02 20:47:55 -08:00
Grant Sanderson
d10745a379
Have CameraFrame.get_view_matrix and and CameraFrame.get_implied_camera_location use _data_has_changed instead of a refresh arg
2023-02-02 20:47:12 -08:00
Grant Sanderson
88959df7a8
Use set_color instead of set_rgba_array in vector_field
2023-02-02 18:24:12 -08:00
Grant Sanderson
3d0fe27c55
Simplify VMobject.set_rgba_array
2023-02-02 18:23:41 -08:00
Grant Sanderson
4629e08769
Ensure joint_products are computed at both the start and end of an animation
2023-02-02 18:17:12 -08:00
Grant Sanderson
009f9dd18b
Don't call become at the end of Transform
2023-02-02 18:16:44 -08:00
Grant Sanderson
7f940fbee4
Change how ShaderWrapper uniforms are handled
2023-02-02 17:45:52 -08:00
Grant Sanderson
1dcc678b2f
Make sure animating a VGroup uniforms will have an effect
2023-02-02 16:18:09 -08:00
Grant Sanderson
ad2e7144b4
Lock uniform keys, the same way data keys are
2023-02-02 16:17:26 -08:00
Grant Sanderson
e36719a21b
Use resize_points in Mobject.set_data
2023-02-02 15:37:10 -08:00
Grant Sanderson
c4d698a169
Have Transform only copy target_mobject if it must
2023-02-02 15:36:58 -08:00
Grant Sanderson
0e60b124eb
Only compute const_data_keys for unlocked data
2023-02-02 15:02:55 -08:00
Grant Sanderson
63dbe3b23f
More direct check for family_members_with_points
2023-02-02 14:32:55 -08:00
Grant Sanderson
bd89056c8e
Only recalculate outer_vert_indices when points are resized
2023-02-02 14:29:37 -08:00
Grant Sanderson
b9d6dcd67d
Save _has_fill and _has_stroke to prevent unnecessary recalculation
2023-02-02 14:26:08 -08:00
Grant Sanderson
e5eed7c36a
Batch render groups by Mobject type
2023-02-02 13:28:06 -08:00