Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run animation inside an existing svg #47

Closed
kandebonfim opened this issue Jul 26, 2016 · 7 comments
Closed

Run animation inside an existing svg #47

kandebonfim opened this issue Jul 26, 2016 · 7 comments

Comments

@kandebonfim
Copy link

There is any way to set a container where mojs should run the animation?

@legomushroom
Copy link
Member

Hey! There was such option but I've removed it. You can set an html container with parent Option right now. If you will provide me with more info on want you want to achieve I probably will be able to find the right way for you.

@legomushroom
Copy link
Member

Actually I'm considering to add few renderers - svg, canvas and webgl. This will allow you to choose the technology you want and specify the rendering container.

@kandebonfim
Copy link
Author

Thanks for helping me!

Here is what I want to do. Animate this illustrated graph inside the screen. 👍

http://codepen.io/kandebonfim/pen/OXENgJ

@legomushroom
Copy link
Member

You can wrap the svg with a dive and pass it as parent to modules. Should work.

@legomushroom
Copy link
Member

@kandebonfim
Copy link
Author

kandebonfim commented Jul 29, 2016

@legomushroom oh, sorry for not answering. This will work for me. Thanks!!

@legomushroom
Copy link
Member

@kandebonfim np, happy to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants