In this video, we learn how to animate motion as well as rotation, scaling, and color changes. We also learn that you can apply all of the above to a group of objects using VGroup.
TIMESTAMPS:
0:10 - Movement with respect to the scene
4:45 - Movement with respect to another object
9:00 - Color
10:52 - Scaling
11:33 - Color and Gradient Color
ScreenGrid made by Theorem of Beethoven:
https://github.com/Elteoremadebeethov...
Colors made by u/saugch
/ predefined_color_scheme
self.play(object.transformation, direction/scalar) animates motion
vs
object.transformation(direction/scalar) does not
object.shift(SCALAR*DIRECTION) to shift the object SCALAR units
object.to_edge(DIRECTION) to move the object to the edge
object.next_to(another object, DIRECTION) places an object next to another object
object.rotate(angle in Radians) to rotate
object.set_color(COLOR) or object.set_color_by_gradient(COLOR1,COLOR2)
Tags:
#manim
#manimtutorial
#manim2020
#manimanimation
#manimpythontutorial