mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
Add pfp as abreviation for point_from_proportion
This commit is contained in:
@ -877,6 +877,10 @@ class Mobject(Container):
|
||||
def point_from_proportion(self, alpha):
|
||||
raise Exception("Not implemented")
|
||||
|
||||
def pfp(self, alpha):
|
||||
"""Abbreviation fo point_from_proportion"""
|
||||
return self.point_from_proportion(alpha)
|
||||
|
||||
def get_pieces(self, n_pieces):
|
||||
template = self.copy()
|
||||
template.set_submobjects([])
|
||||
|
Reference in New Issue
Block a user