| animejs-package | R Documentation |
animejs provides a pipe-friendly R interface to
Anime.js v4, a JavaScript animation library.
Animations are authored in R and serialised to JSON; the htmlwidgets
infrastructure renders them in a browser environment.
The central workflow is:
Create a single animation with anime_animate(), or a timeline with
anime_timeline() and add segments to it with anime_add().
Configure playback with anime_playback() and attach event callbacks
with anime_on().
Render to an htmlwidget with anime_render().
Property values are specified via anime_from_to() and anime_keyframes().
Per-element delay offsets are specified via anime_stagger().
Easing functions are specified via the anime_easing_*() family.
Target selectors are constructed via the anime_target_*() family.
In Shiny applications, use animejsOutput() and renderAnimejs().
None currently. All configuration is per-animation.
Maintainer: Long Nguyen nguyen@dezim-institut.de (ORCID)
Authors:
Long Nguyen nguyen@dezim-institut.de (ORCID)
Useful links:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.