You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
371 B
12 lines
371 B
from manim import *
|
|
|
|
|
|
class VectorArrow(Scene):
|
|
def construct(self):
|
|
dot = Dot(ORIGIN)
|
|
arrow = Arrow(ORIGIN, [2, 2, 0], buff=0)
|
|
numberplane = NumberPlane()
|
|
origin_text = Text('(0, 0)').next_to(dot, DOWN)
|
|
tip_text = Text('(2, 2)').next_to(arrow.get_end(), RIGHT)
|
|
self.add(numberplane, dot, arrow, origin_text, tip_text)
|