Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

(slightly?) better name

Grant Sanderson85d2c2173df7
diff --git a/mobject/mobject.py b/mobject/mobject.py
index 0b38511c3..71dc00ff3 100644
--- a/mobject/mobject.py
+++ b/mobject/mobject.py
@@ -460,7 +460,7 @@ class Mobject(object):
def get_height(self):
return self.length_over_dim(1)
- def point_from_interval(self, alpha):
+ def point_from_proportion(self, alpha):
index = alpha*(self.get_num_points()-1)
return self.points[index]