Commit graph

5776 commits

Author SHA1 Message Date
Grant Sanderson
9ba684d35f
Merge pull request #2028 from rudransh61/master
Update installation.rst added FFmpeg install
2024-01-01 12:55:18 -08:00
Rudransh Bhardwaj
71ab276e05
Update installation.rst added FFmpeg install
Added how to install ffmpeg
2023-05-26 16:24:30 +05:30
Grant Sanderson
d8428585f8
Merge pull request #1994 from 3b1b/video-work
Several bug fixes
2023-02-15 09:40:43 -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
41f0239e9d
Merge pull request #1992 from 3b1b/bug-fix
Fix for index -3 error
2023-02-08 10:40:40 -08:00
Grant Sanderson
1844f7fd64 Fix for https://github.com/3b1b/manim/issues/1991 2023-02-08 10:39:07 -08:00
Grant Sanderson
66b78d01a9
Merge pull request #1989 from 3b1b/video-work
A few more fixes and tweaks.
2023-02-04 16:57:13 -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
e3b95276fa Update TexTransformExample, and pull out TexIndexing 2023-02-03 17:48:51 -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
fbcbbc9a58
Merge pull request #1988 from 3b1b/video-work
Several minor fixes
2023-02-02 16:28:43 -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
d263fa23fa
Merge pull request #1986 from 3b1b/video-work
A few small performance improvements
2023-02-02 14:49:49 -08:00
Grant Sanderson
6f2cbc4d1f Merge branch 'master' of github.com:3b1b/manim into video-work 2023-02-02 14:47:44 -08:00
Grant Sanderson
4e674e571c
Merge pull request #1987 from 3b1b/interactive-scene-update
Interactive scene update
2023-02-02 14:47:32 -08:00
Grant Sanderson
be602930c3 Check that scene has a camera frame in pixel_to_point_coords 2023-02-02 14:46:07 -08:00
Grant Sanderson
9cadfa1818 Make it so that copying a mobject will copy its name, if applicable 2023-02-02 14:46:07 -08:00