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

animation #40

Open
MarieCoco opened this issue May 9, 2017 · 1 comment
Open

animation #40

MarieCoco opened this issue May 9, 2017 · 1 comment

Comments

@MarieCoco
Copy link

Hi !

I am using this code to make an animation.
It works well but I would like to know if it is possible to make the points ephemeral (because it is temporal) ?

Here is my command line :
python3 heatmap.py -b black -r 4 -W 1200 -d 0.1 -I osmt.png --extent=49.7,3.6,50.8,6.0 -G Blue.png -a -o Namur100-5.mpg -P mercator Namur100_copie.txt.
Is it possible to change something in this line or should I change something in the code ?

Thank you in advance,
Kind regards

@sethoscope
Copy link
Owner

This is not currently supported, but I don't think it would be too hard to add, at least for a stream of points with fixed time intervals. I'll give it some thought.

In the meantime, the best workaround would be to have a front-end script take the points in batches and render a heatmap for each frame, then construct the animation using ffmpeg (same as the heatmap script would). This approach is more computationally expensive though, and it's probably just as easy to add support for the feature directly.

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