Created
March 9, 2019 23:53
-
-
Save jaddoescad/256cba7c08a64a35bb779d2ac010f504 to your computer and use it in GitHub Desktop.
move vector with manim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from big_ol_pile_of_manim_imports import * | |
# Move shapes | |
class MoveVector(Scene): | |
def construct(self): | |
vector = Vector(direction=RIGHT) | |
end_point = (4,0,0) | |
animation = ApplyMethod(vector.shift,end_point) | |
self.play(animation) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment