API

  • Action composition

    An action that composes two or more actions.

    • Cross Fade

      Fade between any two actions.

    • Parallel

      Control playback of multiple actions in parallel.

    • Stagger

      Stagger the start of a series of a actions.

    • Chain

      Chain a linear sequence of actions.

    • Composite

      Control multiple named actions simultaneously.

    • Blend Tweens

      Blend between two tweens using a bezier interpolator.

  • Value Types

    Handle special value types with collections of parsers, transformers and tests.

  • Action

    A process that changes a value over time.

    • Delay

      A dummy action that completes after a set duration of time.

    • Pointer

      Tracks mouse and touch movement.

    • Tween

      Change a value over a specific duration of time.

    • Color Tween

      Blends from one color to another using linear interpolation.

    • Physics

      Simulate velocity, acceleration, friction and spring physics.

    • Value

      A simple value that updates when a new number is passed to `set`.

    • Track Offset

      Track the offset of another Action.

  • Calculators

    Simple functions useful in UI calculations.

  • Easing

    Functions that speed or slow a tween over time.

  • Render Loop

    Schedule functions to run on Popmotion's internal render loop.

  • Renderer

    Optimised get/set renderers.

  • Transformers

    Simple composable functions that take a value and return a new one.