u/behackl

▲ 35 r/manim

Manim v0.21.0 has been released! 🚨🎉

This release brings 60 changes, including a new text-rendering option, substantial performance improvements, and fixes across Cairo, OpenGL, MathTex, Code, scene caching, and more.

Highlights

  • First-class Typst support: The new Typst and MathTypst mobjects render markup and mathematics directly to SVG without requiring a TeX installation. Install support with pip install "manim[typst]".
  • Faster Cairo rendering: Animation-heavy scenes rendered about 2× faster in benchmarks.
  • Parallel encoding: Partial movie files can now be encoded concurrently. This is opt-in through the new max_inflight_encoders setting, so existing behavior remains unchanged by default.
  • Faster, safer cache hashing: NumPy arrays are now hashed from their complete contents, preventing stale cache hits while reducing hashing time by roughly 94–98% in representative benchmarks.
  • Plenty of quality-of-life improvements: Multiline MathTex, configurable BulletedList spacing, optional inner lines for tables, multiple TexTemplate compiler passes, more chainable mobject methods, and much more.

There are two breaking changes worth checking if you use Code color styling or call Camera.convert_pixel_array() directly—see the full release notes for migration details.

A huge thank-you to everyone who contributed, especially our 27 first-time contributors! 💚

Full changelog: https://docs.manim.community/en/stable/changelog/0.21.0-changelog.html
GitHub release: https://github.com/ManimCommunity/manim/releases/tag/v0.21.0

reddit.com
u/behackl — 10 days ago