mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 05:24:22 +08:00
Reimplented svg rendering using cairo, and changed vmobject color model to allow for gradeints and strokes with opacities. Many errors associated with python 2 to python 3 conversion are likely still present at this point.
This commit is contained in:
@ -878,7 +878,7 @@ class Mobject(Container):
|
||||
self.add(self.copy())
|
||||
n -= 1
|
||||
curr += 1
|
||||
indices = curr * np.arange(curr + n) / (curr + n)
|
||||
indices = curr * np.arange(curr + n) // (curr + n)
|
||||
new_submobjects = []
|
||||
for index in indices:
|
||||
submob = self.submobjects[index]
|
||||
|
Reference in New Issue
Block a user