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:
Grant Sanderson
2018-08-10 15:12:49 -07:00
parent 858051a806
commit 087715e538
7 changed files with 296 additions and 204 deletions

View File

@ -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]