alexjlockwood / ShapeShifter

SVG icon animation tool for Android, iOS, and the web
https://shapeshifter.design
Apache License 2.0
3.98k stars 204 forks source link

New export type: Syntax exporting? #191

Open dalisoft opened 7 years ago

dalisoft commented 7 years ago

Hi @alexjlockwood I'm done my tweening library, now i'm try to make own export type on ShapeShifter, it's better than make another clone ShapeShifter as users will use gui. Is there has middleware helper or something?

I am use JSON format for my js, and works good for now, but it would be best if can be made export type for js, also it's cross-browser, so no worry would be for web about compatibility

alexjlockwood commented 7 years ago

Sorry, I didn't see this. I'm not sure what you mean. Can you be more specific?

dalisoft commented 5 years ago

Hello @alexjlockwood , sorry for delayed a lot of time, because i was been busy, now have free time, so i can spent this time to improve es6-tween animation library and trying to pair ShapeShifter and es6-tween. Is there any option available to export type syntax will be like this?

let tween1 = new TWEEN.Tween(path, {morph:{shape:"M0,0"},draw:"0% 30%"}).to({morph:{shape:"M10,10"},draw:"20% 20%"}, duration).start()

Supported modifications