Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions manim/mobject/types/vectorized_mobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@

from manim.typing import (
CubicBezierPath,
CubicBezierPathLike,
CubicBezierPoints_Array,
CubicBezierPointsLike,
CubicSpline,
FloatRGBA,
Expand Down Expand Up @@ -2703,7 +2705,8 @@ def set_location(self, new_loc: Point3D):


class CurvesAsSubmobjects(VGroup):
"""Convert a curve's elements to submobjects.
"""Converts every single cubic Bezier points set(comprising 4 points) of the given VMobject,
into a VMobject and stores it in a container VGroup.

Examples
--------
Expand All @@ -2729,7 +2732,7 @@ def __init__(self, vmobject: VMobject, **kwargs) -> None:
self.add(part)

def point_from_proportion(self, alpha: float) -> Point3D:
"""Gets the point at a proportion along the path of the :class:`CurvesAsSubmobjects`.
"""Returns the point at a proportion along the path of the :class:`CurvesAsSubmobjects`.

Parameters
----------
Expand Down
Loading