AutoMovie API
    Preparing search index...

    A sea.

    interface ISea {
        components: readonly IComponent[];
        crest: number;
        heading: number;
        steepest: number;
        elevation(x: number, z: number, seconds: number): number;
        slope(x: number, z: number, seconds: number): { x: number; z: number };
    }
    Index
    components: readonly IComponent[]

    Its sinusoids.

    crest: number

    The greatest elevation the components can reach together, metres: the sum of their amplitudes.

    heading: number

    The direction the waves travel, degrees about +Y from +Z.

    steepest: number

    The greatest rise per horizontal metre they can reach together: the sum of each wavenumber times its amplitude.

    • The surface's elevation above still water at a point and second.

      Parameters

      • x: number

        The point's X, metres.

      • z: number

        The point's Z, metres.

      • seconds: number

        The film second.

      Returns number

      The elevation, metres.

    • The surface's slope at a point and second: its rise per metre along X and along Z.

      Parameters

      • x: number

        The point's X, metres.

      • z: number

        The point's Z, metres.

      • seconds: number

        The film second.

      Returns { x: number; z: number }

      The two slopes.