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

Support of animated SVG features keySplines, keyTimes, and begin, dur, end, min, max attributes #285

Open
Popolon opened this issue Sep 14, 2021 · 0 comments

Comments

@Popolon
Copy link

Popolon commented Sep 14, 2021

Currently Scour doesn't support keySplines, keyTimes, begin, dur, end, min, max attributes used in anmated SVG, so their valus are not truncated.

See this example, made with Glaxnimate (can be played as is in most browser). Also it looks like Scour doesn't truncate under 3 decimal of precision with --set-precision= option.

<animateTransform attributeName="transform" begin="0.000000" calcMode="spline" dur="3.000000" keySplines="0 0 1 1; 0.000000 0.000000 0.800587 0.048913; 0.000000 0.000000 1.000000 1.000000" keyTimes="0; 0.011111; 0.094444; 1" repeatCount="indefinite" type="translate" values="303.797 288.622; 303.797 288.622; 243.038 380.977; 243.038 380.977"/>

Animated SVG

@Popolon Popolon changed the title Support of animated SVG features keySplines, keyTimes, begin and dur attributes Support of animated SVG features keySplines, keyTimes, and begin, dur, end, min, max attributes Sep 14, 2021
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