본문 바로가기

Programming/Manim Lectures

(67)
[06-1-E] Animation : Transformation series (1/3) When there are two objects A and B, we will learn about the animation effect that A gradually changes to B. Class Parameters Explanation MoveAlongPath mobject, target_mobject=None mobject is converted to the location/form of target_mobject. At this time, the name of the object that has changed and remains is mobject not target_mobject. ClockwiseTransform mobject, target_mobject=None mobject is c..
[06-1-D] Animation : Move/Rotating series Animation that moves and rotates objects. Class Parameters Explanation MoveAlongPath mobject, path Move mobject along the path Rotate mobject, angle=PI, asis=OUT Rotate mobject by angle about axis Rotating mobject Rotate mobject by radians about the axis TurnInsideOut mobject Flip mobject back and forth by path_arc=TAU/4 Animation classes related to move/rotating have different parameters used f..
[06-1-C] Animation : Indicating series The Indicating series animation class is an animation that draws attention to an object displayed on the screen while blinking it. Indicating related classes are as follows. Class Parameters Explanation ShowCreationThenDestruction mobject Draw an object for a short time and then make it disappear Indicate mobject Make the object blink by the scale of the scale_factor and return it to the origina..
[06-1-B] Animation : Creation series Animations that creates an object on the screen. There are quite a few classes in this category, so we will divide them into 1)Showing 2)Fading 3)Growing. The use of animation classes is simple because you can specify the class you want to use in the play method. Therefore, learning about animation classes only needs to know what effect these classes have, so you can focus on the effects of thos..
[06-1-A] Animation Class and Rate Function Animation class object > Animation manimlib.animaion.animation.Animation(self, mobject, **kwargs) This is the ancestor class of all classes in charge of animation. Common basic methods for animation are defined. In most cases, it is common to animate using subclasses of this Animation class. However, you can use the Animation class as it is. In that case, the object is simply displayed on the sc..
[06-1] Animation by Classes We have already made a video using the Animation class in the previous chapter. For example, Write/ShowCreation/FadeIn in self.play(Write(text)), self.play(ShowCreation(graph)) and self.play(FadeIn(graph)) are Animation class. 'Write' is an animation that writes letters one after another as if writing them with a pen on a blackboard, 'ShowCreation' displays something like a shape on the screen f..
[06] Animation Animation in Manim is implemented by changing the shape of the object for each frame of the video. To change the shape of an object for each frame is to make the position/color of each object different. This can be done by moving objects (to_edge, etc.), color conversion methods (set_color, etc.) or Animation classes. This chapter describes how to implement animation in Manim by dividing it into..
[05-5-E] Scene for Graph: GraphScene GraphScene is a scene specialized for graphs. You can create your own coordinate system by specifying the x-axis and y-axis properties with the CONFIG value, and get a graph by the get_graph method. GraphScene class object > Container > Scene > GraphScene manimlib.scene.scene.GraphScene(self, **kwargs) You can easily create the x-axis and y-axis by specifying the CONFIG value, and you can create..
[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..