Manim Community v0.22.0 is out! 🎉
导读:Manim 社区版 v0.22.0 发布帖:46 个合并 PR,重点是把输出系统整个重做、视频参数可配置。正在用 0.19~0.21 的同学升级前建议先看原帖的破坏性变更说明。
前往 Reddit 热帖 原页 ↗著作权与完整内容归原作者所有,本站做中文收录与导读
原帖内容
46 merged pull requests: a reworked output system, configurable video encoding, the first step of a new render architecture, and fixes across OpenGL, Cairo, SVG, Text, and more.
Highlights
- One
--formatto rule them all: Pick exactly one output:mp4,mov,webm,gif,png(last frame),png-sequence, ornone.-popens the finished file with either renderer;-lgives a live OpenGL preview. - Configurable video encoding: Set codec, pixel format, and encoder options via
[video_encoder]or e.g.--video-codec libx264 --encoder-option crf=18. Cached segments are cleared withmanim cache clear. - Meet the
Manager: Every scene now has aManagercoordinating its render lifecycle, the first step of a larger overhaul of Manim's rendering internals. Regular scenes need no changes. - Crisper small text: ManimPango 0.7.0 fixes the long-standing letter-spacing issue in
Textat small font sizes. - Fixes and speedups: No more duplicated mobjects in animations, correct logarithmic axes, several OpenGL fixes, and much lower memory use on long renders.
⚠️ Breaking changes: Using --write_to_movie, -g, -i, --force_window, --custom_folders, --flush_cache, [ffmpeg], or a custom renderer/file writer? See the migration notes. Default renders keep working.
Huge thanks to all contributors, especially our 14 first-time contributors! 💛
[link] [comments]
想自己做出这类动画?
配合站内中文教程:示例代码速查 · 入门教程 · 3b1b 复刻系列。遇到环境问题先查安装报错全解。