NAME
ty — a vertical move for an animation frame
SYNOPSIS
ty(px)
DESCRIPTION
Builds a CSS translateY for a jump, a somersault or a hop, scaled by scale() and by the reduced-motion setting of the device (a quarter of the height when the device asks for less motion).
PARAMETERS
px: the height on the open stage, in pixels; negative is upwards.
RETURN VALUE
A string such as "translateY(-95px)".
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
