Vectors
#1724
Replies: 1 comment 2 replies
-
Hey! I'm not quite sure what you are asking for; what did you try already? Should your animation look something like this? Vectors.mp4from manim import *
class Vectors(Scene):
def construct(self):
v1 = Vector(2*RIGHT)
v2 = Vector(UP)
v3 = Vector(v1.get_vector() + v2.get_vector())
self.play(GrowArrow(v1), GrowArrow(v2))
self.play(v2.animate.shift(v1.get_vector()))
self.play(GrowArrow(v3))
self.wait() |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all! I've been trying to add two vectors, and show the resultant AND the original vectors as well, but have been unsuccessful so far. Could you please help me out. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions