-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Select SVG shapes by id #3941
Copy link
Copy link
Closed
Labels
new featureEnhancement specifically adding a new feature (feature request should be used for issues instead)Enhancement specifically adding a new feature (feature request should be used for issues instead)
Metadata
Metadata
Assignees
Labels
new featureEnhancement specifically adding a new feature (feature request should be used for issues instead)Enhancement specifically adding a new feature (feature request should be used for issues instead)
Type
Projects
Status
🆕 New
Description of proposed feature
In the SVG format, it is possible to add an
idattribute on a shape/group of shapes. It would be great to allow manim to get the list of sub-objects corresponding to a givenid(for nowget_mobjects_fromwill not be stable if later-on I add elements to my object).How can the new feature be used?
I could do a complicated drawing in inkscape, and animate it in manim, for instance by hiding/showing/moving elements based on their ID etc.