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 for animated plots [FEATURE] #325

Open
jlambvo opened this issue Nov 6, 2024 · 0 comments
Open

Support for animated plots [FEATURE] #325

jlambvo opened this issue Nov 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jlambvo
Copy link

jlambvo commented Nov 6, 2024

Is your feature request related to a problem? Please describe.
The "gganimate" package allows a very simple way to generate animation frames for a ggplot2 with syntax like ggplot() + transition_time(timevariable). But it's not 3D!

Describe the solution you'd like
I would like to render a movie of an animated ggplot by specifying a column to use as the a time step, or for passing a "gganimate" object. A solution like this may relate to #287 allowing generic control of time varying data including water.

A more robust implementation would generate an interactive 3D display with a slider that effectively filters plot data and shadow matrices by the specified dimension, which could then be an option for creating a movie, i.e.: render_movie(..., type = "custom", dim = timevar).

Describe alternatives you've considered
An alternative is to write a function that would iteratively subset my data, create and pass a ggplot instance to plot_gg() and programmatically save the result with render_camera(), but this will incur significant overhead to capture each frame.

@jlambvo jlambvo added the enhancement New feature or request label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant