mirror of
https://github.com/3b1b/manim.git
synced 2025-08-01 08:54:38 +08:00
Photon through lens
This commit is contained in:
@ -460,6 +460,9 @@ class Mobject(object):
|
||||
def get_height(self):
|
||||
return self.length_over_dim(1)
|
||||
|
||||
def point_from_interval(self, alpha):
|
||||
index = alpha*(self.get_num_points()-1)
|
||||
return self.points[index]
|
||||
|
||||
def get_color(self):
|
||||
color = Color()
|
||||
|
Reference in New Issue
Block a user