Trace cue
cue.traceBlock elementAnimation
Moves its content along a referenced curve: the anchor point (or the content's centre when no anchor is given) rides the path from the curve's domain start to its end across the window. The motion is x-uniform — constant horizontal speed, true to projectile choreography.
Attributes
pathRequiredImplicit
curve-pathThe point of the content that rides the path, e.g. (4, 0). Defaults to the centre of the wrapped content.
Allowed content
Allowed in
Examples
cue.trace{
point(x: 0; y: 0; colour: red)
}(
path: #flight
at: 1
duration: 4s
)cue.trace{
text(label: ball)
}(
path: x * (8 - x) / 4
at: 2
)