v0.9.0¶
- Date:
August 02, 2021
Contributors¶
A total of 35 people contributed to this release. People with a ‘+’ by their names authored a patch for the first time.
Alex Lembcke
Benjamin Hackl
Darylgolden
Devin Neal
Harivinay +
Hugues Devimeux
Jared Hughes +
Jason Villanueva
Kadatatlu Kishore +
KingWampy
LED Me Explain +
Laith Bahodi
Mohammad Al-Fetyani
Noam Zaks
Oliver
PaulCMurdoch
Raghav Prabhakar +
Ryan McCauley
Suhail Sherif +
Taektiek +
Udeshya Dhungana +
UraniumCronorum +
Vinh H. Pham (Vincent) +
ccn +
icedcoffeeee +
sahilmakhijani +
sparshg
The patches included in this release have been reviewed by the following contributors.
Abhijith Muthyala
Alex Lembcke
Benjamin Hackl
Darylgolden
Devin Neal
Harivinay
Hugues Devimeux
Jan-Hendrik Müller
Jason Villanueva
KingWampy
Laith Bahodi
Lino
Mohammad Al-Fetyani
Oliver
Raghav Goel
Suhail Sherif
icedcoffeeee
sahilmakhijani
sparshg
Pull requests merged¶
A total of 55 pull requests were merged for this release.
Highlights¶
- PR #1677: Added a new
Tablemobject This brings easy-to-use and customizable tables to Manim. Several examples for this new mobject can be found at
the module documentation pageand its subpages.
- PR #1677: Added a new
Deprecated classes and functions¶
- PR #1848: Deprecated parameters for
DashedLineandDashedVMobject dash_spacingis an unused parameterpositive_space_ratiohas been replaced with the shorter namedashed_ratio
- PR #1848: Deprecated parameters for
- PR #1773: Remove all classes and functions that were deprecated until
v0.7.0andv0.8.0 The classes
FadeInFrom,FadeOutAndShift,FadeOutToPoint,FadeInFromPoint,FadeInFromLarge,VFadeIn,VFadeOut,VFadeInThenOuthave been removed, useFadeInorFadeOutwith appropriate keyword arguments instead.The classes
CircleIndicate,ShowCreationThenDestruction,AnimationOnSurroundingRectangle,ShowPassingFlashAround,ShowCreationThenDestructionAround,ShowCreationThenFadeAround,WiggleOutThenIn,TurnInsideOuthave been removed. UseCircumscribe,ShowPassingFlash, orWiggleinstead.The classes
OpenGLTexMobjectandOpenGLTextMobjecthave been removed, useMathTexandTexinstead. Also,VMobjectFromSVGPathstringhas been removed, useSVGPathMobjectinstead.Finally, the utility functions
get_normandcrosshave been removed (use the corresponding Numpy methods instead), and the functionangle_betweenhas been replaced withangle_between_vectors.
- PR #1773: Remove all classes and functions that were deprecated until
- PR #1731: Deprecated
ParametricSurfaceparameters u_minandu_maxhave been replaced byu_range.v_minandv_maxhave been replaced byv_range.
- PR #1731: Deprecated
New features¶
- PR #1780: Allow non-numerical values to be added to
NumberLineandAxes Added
NumberLine.add_labels()method toNumberLinewhich accepts a dictionary of positions/values.CoordinateSystem.add_coordinates()now accepts a dictionary too.
- PR #1780: Allow non-numerical values to be added to
- PR #1765: Added a static method
Circle.from_three_points()for defining a circle from three points Added a new
perpendicular_bisector()function inspace_ops.py
- PR #1765: Added a static method
- PR #1686: Added
ParametricSurface.set_fill_by_value() This method enables a color gradient to be applied to a
ParametricSurface, including the ability to define at which points the colors should be centered.
- PR #1686: Added
Enhancements¶
PR #1833: Added OpenGL compatibility for
VDict,get_line_graph()andFocusOn- PR #1760: Added
window_sizeflag to manually adjust the size of the OpenGL window Accepts a tuple in the form:
x,y.
- PR #1760: Added
- PR #1823: Reworked
DashedVMobject Rewritten the logic to generate dashes
- PR #1823: Reworked
- PR #1808: OpenGL renderer updates
Adds model matrices to all OpenGLVMobjects
Improved performance on vectorized mobject shaders
Added updaters that are part of the scene rather than a mobject
- PR #1787: Made
DecimalNumberapply color to the ellipsis Made color apply to the dots when show_ellipsis is set to true in DecimalNumber
- PR #1787: Made
PR #1757: Added warning when there is a large number of items to hash.
Fixed bugs¶
PR #1722: Fixed
remover=TrueforAnimationGroup- PR #1727: Fixed some hot reload issues and compatibility with IDEs
Fixed interactive embed issue where it would fail when running on non-tty terminals
Fixed issue where file observer would error after the second run as the first observer was not closed
PR #1844: Fixed the oversized
Codewindow with the OpenGL renderer- PR #1821: Fixed issues concerning
frame_centerinThreeDScene Changing
frame_centerin aThreeDScenenow actually changes the camera position.An animation with only
frame_centeranimated will now be rendered properly.A black dot is not created at the origin once
frame_centeris animated.
- PR #1821: Fixed issues concerning
PR #1826: Fixed scaling issue with
BarChart.change_bar_values()PR #1839: Allow passing arguments to
.animatewith the OpenGL rendererPR #1791:
set_z_index()now sets all submobjects’z_indexvaluePR #1792: Fixed bug that caused dry runs to fail when using the PNG format
PR #1790: Fixed an import from
manimlibPR #1782: Fixed
Texnot working properly with the OpenGL rendererPR #1783: Fixed
shuffle()function and addedinvert()to OpenGLPR #1786: Fixed
DecimalNumbernot working properly when the number of digits changesPR #1763: Fixed not being able to set some CLI flags in the configuration file
- PR #1776:
CoordinateSystem.get_riemann_rectangles()now uses the graph’s range instead of the axes range If no range specified, get_riemann_rectangles generates the rectangles only where the area is correctly bounded
- PR #1776:
PR #1770: Rewrote
OpenGLMobject.put_start_and_end_on()to work correctly in 3DPR #1736: Fixed
LinearTransformationScenecrashing on multiple animations
Changes concerning the testing system¶
PR #1836: Converted all the graphical tests to the new syntax
- PR #1802: Refactored graphical unit testing system, and implemented multi frames tests
This PR introduces a new
@frames_comparisondecorator which allows writing simpleconstruct-like functions as tests. Control data for new tests can be easily generated by callingpytest --set_test.
Changes to our development infrastructure¶
PR #1830: Be more concise about the documentation URL in the PR template
Code quality improvements and similar refactors¶
New releases¶
PR #1850: Bump version number to
v0.9.0and generate changelog