v0.2.0¶
- Date:
January 1, 2021
The changes since Manim Community release v0.1.1 are listed below.
Breaking Changes¶
Remove all CONFIG dictionaries and all calls to
digest_configand allow passing options directly to the constructor of the corresponding classes (PR #783).Practically, this means that old constructions using
CONFIGlike:class SomeMobject(Thing): CONFIG = { "my_awesome_property": 42 }
where corresponding objects were then instantiated as
my_mobject = SomeMobject()should now be created simply usingmy_mobject = SomeMobject(my_awesome_property=42).Remove old syntax for animating mobject methods by passing the methods and arguments to
self.play, and use a new syntax featuring theanimateproperty (PR #881).For example: the old-style
playcallself.play(my_square.shift, LEFT)
should be replaced with the new following call using the
animateproperty:self.play(my_square.animate.shift(LEFT))
New Features¶
Added creation animation for
ManimBanner(PR #814)Added some documentation to
construct()(PR #753)Added a black and white monochromatic version of Manim’s logo (PR #826)
Added support for a plugin system (
manim pluginsubcommand + documentation) (PR #784)Implemented
__add__,__iadd__,__sub__, and__isub__forMobject(allowing for notation likesome_vgroup + some_mobject) (PR #790)Added type hints to several files in the library (PR #835)
Added some examples to
DashedLineandCurvesAsSubmobjects(PR #833)Added new implementation for text rendered with Pango,
MarkupText, which can be formatted with an HTML-like syntax (PR #855)Added Fading in and out examples and deprecation of
FadeInFromDownandFadeOutAndShiftDown(PR #827)Added example for
MoveAlongPathto the docs (PR #873)Added ambient rotate for other angles - theta, phi, gamma (PR #660)
Use custom bindings for Pango (PR #878)
Added
Graph, a basic implementation for (graph theory) graphs (PR #861)Allow for chaining methods when using the new
.animatesyntax inplay()(PR #889)
Bugfixes¶
Fix doctests in .rst files (PR #797)
Fix failing doctest after adding
manim pluginsubcommand (PR #831)Normalize the direction vector in
always_shift()(PR #839)Make scene caching aware of order of Mobjects (PR #845)
Fix
CairoTextto work with new config structure (PR #858)Added missing argument to classes inheriting from
Matrix(PR #859)Fixed:
z_indexof mobjects contained in others as submobjects is now properly respected (PR #872)Let
set_fill_by_checkboard()return the modified surface to allow method chaining (PR #883)Mobjects added during an updater are added to
Scene.moving_mobjects(PR #838)Pass background color to JS renderer (PR #876)
Small fixes to docstrings. Tiny cleanups. Remove
digest_mobject_attrs. (PR #834)Added closed shape detection in
DashedVMobjectin order to achieve an even dash pattern (PR #884)Fix Spelling in docstrings and variables across the library (PR #890)
Other changes¶
Change library name to manim (PR #811)
Docker: use local files when building an image (PR #803)
Let ffmpeg render partial movie files directly instead of temp files (PR #817)
manimcetomanim& capitalizing Manim in readme (PR #794)Added flowchart for different docstring categories (PR #828)
Improve example in module docstring of
creation+ explicitly document buff parameter inarrange()(PR #825)Disable CI pipeline for Python 3.6 (PR #823)
Update URLs in docs (PR #832)
Move upcoming changelog to GitHub-wiki (PR #822)
Change badges in readme (PR #854)
Exclude generated gRPC files from source control (PR #868)
Added linguist-generated attribute to
.gitattributes(PR #877)Cleanup: removed inheritance from
objectfor some classes, refactor some imports (PR #795)Change several
str.format()tof-strings (PR #867)Update javascript renderer (PR #830)
Bump version number to 0.2.0, update changelog (PR #894)