threejs-worldgen
    Preparing search index...

    Interface FishSpecies

    A fish species. All plain JSON.

    interface FishSpecies {
        habitat: FishHabitat;
        hueVariation: number;
        length: number;
        lengthVariation: number;
        name: string;
        pattern: FishPattern;
        school: SchoolSpec;
        shape: FishShape;
        swim: SwimSpec;
    }
    Index
    habitat: FishHabitat

    Where it lives.

    hueVariation: number

    ± hue shift per fish, radians.

    length: number

    Typical adult length, metres.

    lengthVariation: number

    ± fraction of length varied per fish.

    name: string

    Display name.

    pattern: FishPattern

    Colours.

    school: SchoolSpec

    Schooling.

    shape: FishShape

    Body.

    swim: SwimSpec

    Swimming.