Beginning waves video animations

This commit is contained in:
Grant Sanderson
2017-08-30 13:16:08 -07:00
parent 6539160789
commit ea8381de71
10 changed files with 587 additions and 90 deletions

View File

@ -120,6 +120,9 @@ class Line(VMobject):
def get_start_and_end(self):
return self.get_start(), self.get_end()
def get_vector(self):
return self.get_end() - self.get_start()
def get_start(self):
return np.array(self.points[0])