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

Circular drawer scale #82

Merged
merged 5 commits into from
Feb 27, 2021
Merged

Circular drawer scale #82

merged 5 commits into from
Feb 27, 2021

Conversation

lowtower
Copy link
Contributor

Hello,

this PR provides a new cli argument for circular posters and lets the user scale the track length to a given value.

By now the radius of the circle is scaled to the maximum track length.
With this PR, the radius can be scaled to a given value, e.g.

My objective is to generate an animated gif over a period of time.
With a given radius the single posters would not "jump" in radius for every new calculated maximum length.

Hope, You like the change,
cheers,
LT

@lowtower
Copy link
Contributor Author

I have added two examples to demonstrate what I mean
today
with fixed radius

@flopp flopp merged commit 3e297b8 into flopp:master Feb 27, 2021
@flopp
Copy link
Owner

flopp commented Feb 27, 2021

That's a nice addition. Thank you!

@lowtower
Copy link
Contributor Author

Cool, thanks.
Just for Your information, I had added the example GIF files ro my repo before You merged - so they are in Your repo now as well.
You might want to delete or keep them - as You like.

@flopp
Copy link
Owner

flopp commented Mar 1, 2021

Ok. I may remove them, because the file sizes are quite large.

@yihong0618
Copy link
Contributor

@flopp @lowtower

Can I ask how you generate the gif file?

My idea is we can generate svg file with animation that like you gif file, that would cool,

And add one arg --with animation user can choose with gif like yours or not.

@flopp
Copy link
Owner

flopp commented Mar 5, 2021

@yihong0618 that would be a nice addition, I guess...

@lowtower
Copy link
Contributor Author

lowtower commented Mar 5, 2021

@yihong0618

I am working on a python script that either uses imagemagick if available or imageio.
In short, the script takes the gpx-dir and copies gpx-file after file to a temporary directory, generates a svg using GpxTrackPoster, generates a png and finally combines all the separate png's to a single animated gif or video file.
It is already working but not tested and stable - thus not public avaliable.
Cheers,
LT

@yihong0618
Copy link
Contributor

@lowtower
Got it thanks.

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

Successfully merging this pull request may close these issues.

3 participants