AutoMovie API
    Preparing search index...
    • A crease window's weight at a clock: 1 inside [start, end], falling to 0 over transition on each side by 1 - (10 x^3 - 15 x^4 + 6 x^5), x the clock distance from the window over the transition, so the weight is C2 in the clock; 0 without a crease.

      Parameters

      • c: number

        The clock, radians.

      • crease: ICrease | undefined

        The window, or absent.

      Returns number

      The weight in [0, 1].