mirror of
https://github.com/3b1b/manim.git
synced 2025-08-01 17:29:06 +08:00
Halfway through eop/independence project
This commit is contained in:
@ -92,8 +92,8 @@ class PascalsTriangle(VMobject):
|
||||
"portion_to_fill" : 0.7
|
||||
}
|
||||
def generate_points(self):
|
||||
self.cell_height = self.height / self.nrows
|
||||
self.cell_width = self.width / self.nrows
|
||||
self.cell_height = float(self.height) / self.nrows
|
||||
self.cell_width = float(self.width) / self.nrows
|
||||
self.bottom_left = (self.cell_width * self.nrows / 2.0)*LEFT + \
|
||||
(self.cell_height * self.nrows / 2.0)*DOWN
|
||||
num_to_num_mob = {}
|
||||
|
Reference in New Issue
Block a user