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

Feature request: Introduce alias to allow multiple svgs to be used simultaneously #8

Open
abid-mujtaba opened this issue Dec 29, 2022 · 0 comments

Comments

@abid-mujtaba
Copy link
Contributor

I am creating an animation where multiple messages (envelope svg) are moving around in a system. I would like to be able to use a single svg file but have multiple instances be present simultaneously but independently (each has their own position, opacity, and scale, etc.).

Currently this can be achieved by using symlinks to create multiple copies of the original svg file.

Suggest introducing an alias command which takes an svg name and creates an alias which from that point forward can be used similar to how the svg name is used directly.

Example (assuming a src/message.svg exists):

set_frame_size 600 300
alias message m1
alias message m2

place m1 0 100
animate_1000 pause
place m2 200 100 1 2
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

1 participant