View source: R/animation_functions.R
mocap_finish_animation | R Documentation |
mocapr
plotMake an animation from a mocapr
plot
mocap_finish_animation(.data, ...)
.data |
A ggplot2 object containing mocap data in the mocapr format. |
... |
Additional arguments are passed to |
A gif
df <- dplyr::filter(mocapr::mocapr_data, movement_nr == 1)
df <- mocapr::project_full_body_to_AP(df)
df <- mocapr::animate_anatomical(df,
return_data = TRUE)
df <- mocapr::mocap_plot_basic(df)
df <- mocapr::mocap_plot_avatar(df)
# mocap_finish_animation(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.