% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classes.R
\name{Animation}
\alias{Animation}
\title{Animation: a transition spec bound to a data variable}
\usage{
Animation(
  var = character(0),
  duration = integer(0),
  easing = character(0),
  loop = logical(0)
)
}
\arguments{
\item{var}{Name of the transition variable.}

\item{duration}{Milliseconds per frame.}

\item{easing}{Easing curve: \code{"linear"}, \code{"cubic"}, \code{"cubic-in-out"}.}

\item{loop}{Restart automatically at the end.}
}
\value{
An S7 object of class \code{Animation}; usually built by \code{\link[=animate]{animate()}}.
}
\description{
Created by \code{\link[=animate]{animate()}}. Frames are computed from the same geometry
pipeline as static output — one buffer per frame value — and the
interactive target plays them with a scrubber.
}
