threejs-worldgen
    Preparing search index...

    Interface Farm

    A farmstead's plan beyond its buildings and roads. Plain JSON.

    interface Farm {
        access: [number, number];
        apron: Vec2[];
        fields: Field[];
        props: FarmProp[];
        vehicleSpots: VehicleSpot[];
        yard: Vec2[];
    }
    Index
    access: [number, number]

    Where the driveway meets the road.

    apron: Vec2[]

    Its gravel apron (the rest, round the farmhouse, is grass), counter-clockwise.

    fields: Field[]

    Fields around the yard.

    props: FarmProp[]

    Hay bales and pasture fences (for threejs-props).

    vehicleSpots: VehicleSpot[]

    Tractor spots (for threejs-vehicles).

    yard: Vec2[]

    The farmyard outline (frame-local), counter-clockwise.