What's Changed
Breaking Changes π¨
- Fix
ImageMobject3D rotation/flipping and remove resampling algorithmslanczos(antialias),boxandhammingby @chopan050 in #4266 - Fix
YELLOW_Cand addPURE_CYAN,PURE_MAGENTAandPURE_YELLOWby @chopan050 in #4562
Highlights π
- Rewrite MathTex to make it more robust regarding splitting by @henrikmidtiby in #4515
- Add new Animation Builder
Mobject.alwaysby @JasonGrace2282 in #4594
New Features β¨
- Add a
seedconfig option +--seedCLI option for reproducible randomness in rendered scenes by @arnaud-ma in #4532
Enhancements π
Bug Fixes π
- using
colorinstead offill_colorwith MathTeX for node labels by @Schefflera-Arboricola in #4501 - fix: infinite recursion caused by accessing color of a highlighted Ta⦠by @BHearron in #4435
- Prevent potential
UnboundLocalErrorinPolarPlaneby @RinZ27 in #4557 - Fixed division by 0 in "turn_animation_into_updater" by @SoldierSacha in #4567
- Fix TOCTOU Race Conditions when creating directories by @SoldierSacha in #4587
- Resolve more race conditions potentially happening during directory creation by @SoldierSacha in #4589
- Fix c2p/coords_to_point with single flat list or 1D array input by @danielalanbates in #4596
Documentation π
- Enable rendered documentation of
RandomColorGeneratorby @arnaud-ma in #4533 - Remove pin to Python 3.13 in installation docs by @chopan050 in #4534
- Fix broken aquabeam OpenGL link using Wayback Machine by @behackl in #4545
- Add type annotations and docstrings in
opengl_renderer.pyby @arnaud-ma in #4537 - docs: improve TransformFromCopy docstring by @GoThrones in #4597
Infrastructure & Build π¨
Code Quality & Refactoring π§Ή
- Rework and consolidate release changelog script, add previously skipped changelog entries by @behackl in #4568
- Remove future.annotations from required imports by @JasonGrace2282 in #4571
- Cleaned up
mypy.iniby @henrikmidtiby in #4584 - Add py.typed to declare manim as having type hints by @Timmmm in #4553
- Fix assertion in
ImageMobjectFromCamera.interpolate_color()by @chopan050 in #4593 - Reduce dependency on scipy - replace
scipy.special.combwithmath.combby @fmuenkel in #4598
Type Hints π
- Add type annotations to
rotation.pyby @fmuenkel in #4535 - Add type annotations to
opengl_compatibility.pyby @fmuenkel in #4585 - Add type annotations to
image_mobject.pyby @henrikmidtiby in #4458 - Add type annotations to
opengl_image_mobject.pyby @fmuenkel in #4536 - Add type annotations to
point_cloud_mobject.pyby @fmuenkel in #4586
New Contributors
- @arnaud-ma made their first contribution in #4533
- @Schefflera-Arboricola made their first contribution in #4501
- @BHearron made their first contribution in #4435
- @RinZ27 made their first contribution in #4557
- @SoldierSacha made their first contribution in #4567
- @Oll-iver made their first contribution in #4547
- @GoThrones made their first contribution in #4597
- @danielalanbates made their first contribution in #4596
Full Changelog: v0.19.2...v0.20.0