pub struct Animate {Show 20 fields
pub target: Place,
pub effect: StringExpr,
pub effect_span: Option<Span>,
pub duration: Option<Expr>,
pub timing: Timing,
pub delay: Option<Expr>,
pub along: Option<Place>,
pub repeat: Option<Expr>,
pub yoyo: bool,
pub ease: Option<StringExpr>,
pub color: Option<StringExpr>,
pub stagger: Option<Expr>,
pub out: bool,
pub slide_from: Option<Dir>,
pub morph_into: Option<Place>,
pub type_unit: Option<TypeUnit>,
pub scramble_chars: Option<StringExpr>,
pub wiggles: Option<Expr>,
pub draw_from: Option<Expr>,
pub draw_to: Option<Expr>,
}Expand description
animate <target> with "<effect>" [along <path>] [to <colour>] [for <dur>] [at <t> | after <ref>] [delay <d>] [repeat <n>] [yoyo] [ease "<name>"].
Fields§
§target: Place§effect: StringExpr§effect_span: Option<Span>§duration: Option<Expr>§timing: Timing§delay: Option<Expr>§along: Option<Place>Object whose geometry the move effect follows (GSAP MotionPath).
repeat: Option<Expr>Number of repeats after the first play (GSAP repeat): -1 loops
forever, 0/absent plays once.
yoyo: boolAlternate direction on each repeat (GSAP yoyo).
ease: Option<StringExpr>GSAP easing name overriding the per-effect default (e.g. "elastic.out").
color: Option<StringExpr>Target colour for the highlight effect (to <colour>); any rpic
colour form (name, rgb(), 0xRRGGBB).
stagger: Option<Expr>When the target is a block, fan the effect across its children with this
per-child start offset in seconds (GSAP-style stagger).
out: boolPlay the effect as an exit (reverse: .to() the hidden state) rather
than an entrance.
slide_from: Option<Dir>Direction the slide effect enters from (from left, …).
morph_into: Option<Place>Target object the morph effect morphs into (into B).
type_unit: Option<TypeUnit>Split granularity for the type effect (by word / by char); None
defaults to Char.
scramble_chars: Option<StringExpr>Custom scramble charset for the scramble effect (by "01"); None
defaults to the plugin’s upperCase.
wiggles: Option<Expr>Oscillation count for the wiggle effect (wiggles <n>); None
defaults to a few.
draw_from: Option<Expr>Start of the revealed segment for the draw effect, as a fraction of the
stroke (from 40% → 0.4); None starts at the beginning.
draw_to: Option<Expr>End of the revealed segment for the draw effect, as a fraction of the
stroke (to 60% → 0.6); None reaches the end.