ShapeShifter
ShapeShifter copied to clipboard
manage and import a folder of SVG's
I think it would be cool to be able to manage multiple animations somehow and then possibly generate a JSON file so it can be consumed from other targets. Maybe we could follow what BodyMovin does and provide a general JSON file then people can build target engines on top of it 🤔 I'm willing to help wherever I can with this.
For the web, we can use SVGO to cleanup the SVG's and then something like SVGSON to generate the path data. Or probably write our own SVG parser for better control.
I think this is possible down the line definitely. BTW, in case you don't know, Shape Shifter workspaces can be exported to a custom JSON format already (and then can be reimported again later on). Take a look at the JSON file that is imported when the user clicks on the play to pause demo under "File" --> "Demos": https://github.com/alexjlockwood/ShapeShifter/blob/master/src/demos/playtopause.shapeshifter
As you can see only one animation is allowed right now, but we could easily update the format to support a list of animations instead. We'd just have to update the UI, which would be the more time consuming part.
This is wonderful! Sorry for not looking into the project further before posting. Thanks for the info!