You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear devs,
first of all thank you for a great library. I'm not sure if this is a feature request or bug but here's some description of the issue I bumped into:
I tried to load a SVGMobject from svg file. I had used linear gradient in the svg file (created with inkscape, but saved as plain svg), but when tried to create the SVGMobject the manim raised an error that the object color is invalid. The color is defined as a reference to the linear gradient definition in the SVG file as follows: url(#linearGradient2323)
I have no idea does manim support gradients at all even at the rendering end. If not then this is actually a feature request eg. a lot more work.
If it's a bug, it probably has something to do with manim's SVG parsing (url or/and the gradient definition).
Expected behavior
Well the expected behaviour would be that I could load the svg file with the gradient color definition and use the loaded svg object in my animations...
How to reproduce the issue
Create a svg file using inkscape/whatever editor and add a single object in it and fill it with a (linear) gradient color.
Save it as plain svg file
write a minimal "hello manim" code and try to load the said svg file using the SVGMobject ( SVGMobject("myfilename.svg") )
Dear devs,
first of all thank you for a great library. I'm not sure if this is a feature request or bug but here's some description of the issue I bumped into:
I tried to load a SVGMobject from svg file. I had used linear gradient in the svg file (created with inkscape, but saved as plain svg), but when tried to create the SVGMobject the manim raised an error that the object color is invalid. The color is defined as a reference to the linear gradient definition in the SVG file as follows: url(#linearGradient2323)
I have no idea does manim support gradients at all even at the rendering end. If not then this is actually a feature request eg. a lot more work.
If it's a bug, it probably has something to do with manim's SVG parsing (url or/and the gradient definition).
Expected behavior
Well the expected behaviour would be that I could load the svg file with the gradient color definition and use the loaded svg object in my animations...
How to reproduce the issue
Code for reproducing the problem
Additional media files
Images/GIFs
The text was updated successfully, but these errors were encountered: