Manim provides classes to create shapes such as line, circles, and rectangles. You can use these classes to create shape objects and animate them to express them.
Class Diagram for shapes
All shapes are created by inheriting VMobject. This VMobject is a class that inherits Mobject, which means Vectorized Mobject(Math object).
The Text, TexMobject, and TextMobject discussed in the previous chapter are all subclasses of VMobject.
The figure below is a Class Diagram for all shape classes inherited from VMobject.
In this chapter, we will look at methods that are common to all shape classes, and classify each shape class into several series and explain each series.
[05-3-B] Line series(1/2): Line/DashedLine
[05-3-D] Polygon series(1/2): Polygon/Triangle/ArrowTip
[05-3-E] Polygon series(2/2): Rectangle/Square/Rounded Rectangle
[05-3-F] Arc series: Arc/ArcBetweenPoints/CurvedArrow
[05-3-G]Arc series(2/2): Circle/Dot/CurvedDoubleArrow/...
[05-3-H] Other Shapes: Elbow/CubicBezier
Next: [05-3-A] Common Methods
Go To: [99] Table of Contents
'Programming > Manim Lectures' 카테고리의 다른 글
[05-3-B] Line series(1/2): Line/DashedLine (0) | 2020.06.07 |
---|---|
[05-3-A] Common Methods (0) | 2020.06.07 |
[05-2-C] TextMobject: for Equation and Text (0) | 2020.06.06 |
[05-2-B]TexMobject: for equation (0) | 2020.06.06 |
[05-2-A] Text: for general text string (0) | 2020.06.06 |