Changelog ========= Unreleased ---------- Fixed bugs ^^^^^^^^^^ - `f1996f8 `__: Temporarily fixed ``Lightbulb`` New Features ^^^^^^^^^^^^ - `#1694 `__: Added option to add ticks on x-axis in ``BarChart`` Refactor ^^^^^^^^ - `5aa8d15 `__: Used ``FFMPEG_BIN`` instead of ``"ffmpeg"`` for sound incorporation v1.3.0 ------ Fixed bugs ^^^^^^^^^^ - `#1653 `__: Fixed ``Mobject.stretch_to_fit_depth`` - `#1655 `__: Fixed the bug of rotating camera - `c73d507 `__: Fixed ``SurfaceMesh`` to be evenly spaced - `82bd02d `__: Fixed ``angle_between_vectors`` add ``rotation_between_vectors`` - `a717314 `__: Fixed ``VMobject.fade`` - `fbc329d `__: Fixed ``angle_between_vectors`` - `bcd0990 `__: Fixed bug in ``ShowSubmobjectsOneByOne`` - `7023548 `__: Fixed bug in ``TransformMatchingParts`` New Features ^^^^^^^^^^^^ - `e10f850 `__: Added CLI flag ``--log-level`` to specify log level - `#1667 `__: Added operations (``+`` and ``*``) for ``Mobject`` - `#1675 `__: Added 4 boolean operations for ``VMobject`` in ``manimlib/mobject/boolean_ops.py`` - ``Union(*vmobjects, **kwargs)`` - ``Difference(subject, clip, **kwargs)`` - ``Intersection(*vmobjects, **kwargs)`` - ``Exclusion(*vmobjects, **kwargs)`` - `81c3ae3 `__: Added reflectiveness - `2c7689e `__: Enabled ``glow_factor`` on ``DotCloud`` - `d065e19 `__: Added option ``-e`` to insert embed line from the command line - `0e78027 `__: Improved ``point_from_proportion`` to account for arc length - `781a993 `__: Added shortcut ``set_backstroke`` for setting black background stroke - `0b898a5 `__: Added ``Suface.always_sort_to_camera`` - `e899604 `__: Added getter methods for specific euler angles - `407c53f `__: Hade ``rotation_between_vectors`` handle identical/similar vectors - `49743da `__: Added ``Mobject.insert_submobject`` method - `9dd1f47 `__: Created single progress display for full scene render - `264f7b1 `__: Added ``Circle.get_radius`` - `83841ae `__: Added ``Dodecahedron`` - `a1d5147 `__: Added ``GlowDot`` - `#1678 `__: Added ``MTex`` , see `#1678 `__ for details Refactor ^^^^^^^^ - `#1662 `__: Refactored support for command ``A`` in path of SVG - `#1662 `__: Refactored ``SingleStringTex.balance_braces`` - `8b454fb `__: Slight tweaks to how saturation_factor works on newton-fractal - `317a5d6 `__: Made it possible to set full screen preview as a default - `e764da3 `__: Used ``quick_point_from_proportion`` for graph points - `d2182b9 `__: Made sure ``Line.set_length`` returns self - `eea3c6b `__: Better align ``SurfaceMesh`` to the corresponding surface polygons - `ee1594a `__: Match ``fix_in_frame`` status for ``FlashAround`` mobject - `ba23fbe `__: Made sure ``Mobject.is_fixed_in_frame`` stays updated with uniforms - `98b0d26 `__: Made sure ``skip_animations`` and ``start_at_animation_number`` play well together - `f8e6e7d `__: Updated progress display for full scene render - `8f1dfab `__: ``VectorizedPoint`` should call ``__init__`` for both super classes - `758f329 `__: Used array copy when checking need for refreshing triangulation Dependencies ^^^^^^^^^^^^ - `#1675 `__: Added dependency on python packages `skia-pathops `__ v1.2.0 ------ Fixed bugs ^^^^^^^^^^ - `#1592 `__: Fixed ``put_start_and_end_on`` in 3D - `#1601 `__: Fixed ``DecimalNumber``'s scaling issue - `56df154 `__: Fixed bug with common range array used for all coordinate systems - `8645894 `__: Fixed ``CoordinateSystem`` init bug - `0dc096b `__: Fixed bug for single-valued ``ValueTracker`` - `54ad355 `__: Fixed bug with SVG rectangles - `d45ea28 `__: Fixed ``DotCloud.set_radii`` - `b543cc0 `__: Temporarily fixed bug for ``PMobject`` array resizing - `5f878a2 `__: Fixed ``match_style`` - `719c81d `__: Fixed negative ``path_arc`` case - `c726eb7 `__: Fixed bug with ``CoordinateSystem.get_lines_parallel_to_axis`` - `7732d2f `__: Fixed ``ComplexPlane`` -i display bug New Features ^^^^^^^^^^^^ - `#1598 `__: Supported the elliptical arc command ``A`` for ``SVGMobject`` - `#1607 `__: Added ``FlashyFadeIn`` - `#1607 `__: Save triangulation - `#1625 `__: Added new ``Code`` mobject - `#1637 `__: Add warnings and use rich to display log - `bd356da `__: Added ``VCube`` - `6d72893 `__: Supported ``ValueTracker`` to track vectors - `3bb8f3f `__: Added ``set_max_width``, ``set_max_height``, ``set_max_depth`` to ``Mobject`` - `a35dd5a `__: Added ``TracgTail`` - `acba13f `__: Added ``Scene.point_to_mobject`` - `f84b8a6 `__: Added poly_fractal shader - `b24ba19 `__: Added kwargs to ``TipableVMobject.set_length`` - `17c2772 `__: Added ``Mobject.replicate`` - `33fa76d `__: Added mandelbrot_fractal shader - `f22a341 `__: Saved state before each embed - `e10a752 `__: Allowed releasing of Textures - `14fbed7 `__: Consolidated and renamed newton_fractal shader - `6cdbe0d `__: Hade ``ImageMoject`` remember the filepath to the Image Refactor ^^^^^^^^ - `#1601 `__: Changed back to simpler ``Mobject.scale`` implementation - `b667db2 `__: Simplified ``Square`` - `40290ad `__: Removed unused parameter ``triangulation_locked`` - `8647a64 `__: Reimplemented ``Arrow`` - `d8378d8 `__: Used ``make_approximately_smooth`` for ``set_points_smoothly`` by default - `7b4199c `__: Refactored to call ``_handle_scale_side_effects`` after scaling takes place - `7356a36 `__: Refactored to only call ``throw_error_if_no_points`` once for ``get_start_and_end`` - `0787c4f `__: Made sure framerate is 30 for previewed scenes - `c635f19 `__: Pushed ``pixel_coords_to_space_coords`` to ``Window`` - `d5a88d0 `__: Refactored to pass tuples and not arrays to uniforms - `9483f26 `__: Refactored to copy uniform arrays in ``Mobject.copy`` - `ed1fc4d `__: Added ``bounding_box`` as exceptional key to point_cloud mobject - `329d2c6 `__: Made sure stroke width is always a float v1.1.0 ------- Fixed bugs ^^^^^^^^^^ - Fixed the bug of :func:`~manimlib.utils.iterables.resize_with_interpolation` in the case of ``length=0`` - Fixed the bug of ``__init__`` in :class:`~manimlib.mobject.geometry.Elbow` - If chosen monitor is not available, choose one that does exist - Make sure mobject data gets unlocked after animations - Fixed a bug for off-center vector fields - Had ``Mobject.match_points`` return self - Fixed chaining animation in example scenes - Fixed the default color of tip - Fixed a typo in ``ShowPassingFlashWithThinningStrokeWidth`` - Fixed the default size of ``Text`` - Fixed a missing import line in ``mobject.py`` - Fixed the bug in ControlsExample - Make sure frame is added to the scene when initialization - Fixed zooming directions - Rewrote ``earclip_triangulation`` to fix triangulation - Allowed sound_file_name to be taken in without extensions New Features ^^^^^^^^^^^^ - Added :class:`~manimlib.animation.indication.VShowPassingFlash` - Added ``COLORMAP_3B1B`` - Added some methods to coordinate system to access all axes ranges - :meth:`~manimlib.mobject.coordinate_systems.CoordinateSystem.get_origin` - :meth:`~manimlib.mobject.coordinate_systems.CoordinateSystem.get_all_ranges` - Added :meth:`~manimlib.mobject.mobject.Mobject.set_color_by_rgba_func` - Updated :class:`~manimlib.mobject.vector_field.VectorField` and :class:`~manimlib.mobject.vector_field.StreamLines` - Allow ``3b1b_colormap`` as an option for :func:`~manimlib.utils.color.get_colormap_list` - Return ``stroke_width`` as 1d array - Added :meth:`~manimlib.mobject.svg.text_mobject.Text.get_parts_by_text` - Use Text not TexText for Brace - Update to Cross to make it default to variable stroke width - Added :class:`~manimlib.animation.indication.FlashAround` and :class:`~manimlib.animation.indication.FlashUnder` - Allowed configuration in ``Brace.get_text`` - Added :meth:`~manimlib.camera.camera.CameraFrame.reorient` for quicker changes to frame angle - Added ``units`` to :meth:`~manimlib.camera.camera.CameraFrame.set_euler_angles` - Allowed any ``VMobject`` to be passed into ``TransformMatchingTex`` - Removed double brace convention in ``Tex`` and ``TexText`` - Added support for debugger launch - Added CLI flag ``--config_file`` to load configuration file manually - Added ``tip_style`` to ``tip_config`` - Added ``MarkupText`` - Take in ``u_range`` and ``v_range`` as arguments to ``ParametricSurface`` - Added ``TrueDot``