반응형
In Mimim, there are classes that handle characters, formulas, and shapes that appear on the screen. This means that you need to use these classes when you want to display characters, formulas, and shapes on the screen.
For example, to display the character 'Hello', you need to create an object using the Text class, such as text = Text("Hello").
Class and Object
Classes and objects may not be well distinguished. To make it easy to understand how to classify them, when making waffles, put dough into a metal mold and stamp the waffles, where the form is a class and waffles are objects.
All of Manim's objects are created by inheriting the Mobject class, and provide classes that can be displayed on the screen, such as characters/formulas/shapes.
Starting in the next page, we will describe the methods commonly used for objects in Manim and objects that deal with text, formulas, shapes, and images.
Next: [05-1]Common methods of Mobject
Go To: [99] Table of Contents
반응형
'Programming > Manim Lectures' 카테고리의 다른 글
[05-1-A]Moving methods (0) | 2020.06.05 |
---|---|
[05-1]Common methods of Mobject (0) | 2020.06.05 |
[04-7] Examples: Object moving animation (0) | 2020.06.01 |
[04-6] Move to relative position(shift) (0) | 2020.06.01 |
[04-5] Move to relative position(next_to) (0) | 2020.06.01 |