본문 바로가기

Programming

(165)
[05-5-D] Grid Background: NumberPlane In this page, we will learn about NumberPlane, which has x and y axes and displays the coordinate system on the screen in a grid. Using NumberPlane makes graph creation and display easy. NumberPlane class object > Container > Mobject > VMobject > > VGroup > Axes > NumberPlane manimlib.mobject.coordinate_system.NumberPlane(self, **kwargs) Axes are used to create a coordinate system, and a grid is..
[05-5-C] Graph Coordinate: Axes NumberLine can be used to represent one axis. Two-dimensional coordinate systems require two axes, and the Axes class is used to represent the x-axis and y-axis required for a two-dimensional coordinate system. Axes class object > Container > Mobject > VMobject > VGroup > Axes manimlib.mobject.coordinate_system.Axes(self, **kwargs) Create a 2D axis consisting of x-axis and y-axis. The Axes class..
[05-5-B] Graph Line: NumberLine In this page, we will look at the NumberLine responsible for the axis line, such as the x-axis and y-axis of the graph. The axis is not only responsible for drawing the horizontal line corresponding to the x-axis and the vertical line corresponding to the y-axis, but also serves to map the value of (x,y) by the function expression to the coordinates of the actual screen. If (x,y) by the formula ..
[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=..