본문 바로가기

분류 전체보기

(284)
[05-5-A] Graph from ParametricFunction/FunctionGraph ParametricFunction class object > Container > Mobject > VMobject > ParametricFunction manimlib.mobject.functions.ParametricFunction(self, function=None, **kwargs) Create a Manim object using the given function. The function is an expression for the position value of the Manim coordinate system. CONFIG = { "t_min": 0, "t_max": 1, "step_size": 0.01, # Use "auto" (lowercase) for automatic step size..
[05-5] Graph The main difference between Manim and other video editing/creation programs is graph animation using mathematical functions. Therefore, understanding the graph is a very important part of Manim programming, so I will explain it in detail. To structurally understand the matter of graphs in Manim, you can understand the relationship of the class diagram below. In the above structure diagram, I wil..
[05-4-B] Integer Integer class object > Container > Mobject > VMobject > DecimalNumber > Integer manimlib.mobject.numbers.Integer(self, number=0, **kwargs) Used when dealing with integer numbers without decimal point. The parameters used during creation are the same as for the DecimalNumber class. Parameters: number=0 The number to make into an object. It can be updated via the set_value() method. **kwargs - num..
[05-4-A] DecimalNumber When you want to express a number in Manim, you can handle it in Text or TextMobject, but it is convenient to use DecimalNumber, a class for expressing numbers efficiently. DecimalNumber class object > Container > Mobject > VMobject > DecimalNumber manimlib.mobject.numbers.DecimalNumber(self, number=0, **kwargs) Create a numeric object that can be rendered on the screen with the 'number' given a..
[05-4] Numbers: DecimalNumber/Integer In Manim, there are two kinds of classes that displays numbers on the screen. DecimalNumber and Integer DecimalNumber class can represent a general number including a decimal point, and Integer class is used to represent an integer number without a decimal point. [05-4-A] DecimalNumber [05-4-B] Integer Next:[05-4-A] DecimalNumber [05-4-A] DecimalNumber When you want to express a number in Manim,..
[05-3-G]Arc series(2/2): Circle/Dot/CurvedDoubleArrow/... Circle class object > Container > Mobject > VMobject > TipableVMobject > Arc > Circle manimlib.mobject.geometry.Circle(self, **kwargs) Creates a circle object CONFIG = { "color": RED, "close_new_points": True, "anchors_span_full_range": False } Parameters: **kwargs CONFIG values of Circle and Arc/TipableVMobject/VMobject/Mobject - color=RED: Color around the circle or inside. In the case of Circ..
[05-3-F] Arc series: Arc/ArcBetweenPoints/CurvedArrow The arc's representative class is Arc, and the Circle and Dot classes inherit it. Here, we mainly focus on the Arc, ArcBetweenPoints, CurvedArrow, Circle, and Dot classes, and the rest of the classes are low in frequency, so we will only explain the class structure. Arc class object > Container > Mobject > VMobject > TipableVMobject > Arc manimlib.mobject.geometry.Arc(self, start_angle=0, angle=..
[05-3-E] Polygon series(2/2): Rectangle/Square/Rounded Rectangle Rectangle class object > Container > Mobject > VMobject > Polygon > Rectangle manimlib.mobject.geometry.Rectangle(self, **kwargs) Create a rectangle. By default, a white rectangle with a width is 4 and height is 2 is created around the origin. rect = Rectangle() CONFIG = { "color": WHITE, "height": 2.0, "width": 4.0, "mark_paths_closed": True, "close_new_points": True, } Parameters: **kwargs CON..
[05-3-D] Polygon series(1/2): Polygon/Triangle/ArrowTip In this page, we will learn how to create polygon-like shapes. The top class is Ploygon, and general polygons can be created using Ploygon, such as Rectangle and Triangle. Polygon class object > Container > Mobject > VMobject > Polygon manimlib.mobject.geometry.Polygon(self, *vertices, **kwargs) Create a polygon using given points. By default, a polygon with no inner color and blue outline is cr..
[05-3-C] Line : Arrow/Vector Arrow Class manimlib.mobject.geometry.Arrow(self, *args, **kwargs) object > Container > Mobject > VMobject > TipableVMobject > Line > Arrow Create a line with an arrow on one side. Like Line class, you can also take both endpoints as input and create a arrow with them. CONFIG = { "stroke_width": 6, "buff": MED_SMALL_BUFF, "max_tip_length_to_length_ratio": 0.25, "max_stroke_width_to_length_ratio"..