Function: baseballField()
baseballField(
league,opts?):Scene
Defined in: packages/sporty/src/baseball/field.ts:33
Port of sportyR geom_baseball(): origin = back tip of home plate, +y toward centre field; same divergences as soccerPitch.
Parameters
league
"custom" | "little league" | "milb" | "mlb" | "ncaa" | "nfhs" | "pony" | string & object
opts?
SurfaceOptions<BaseballParamUpdates, "infield_dirt" | "infield_grass" | "pitchers_mound" | "base" | "pitchers_plate" | "batters_box" | "catchers_box" | "foul_line" | "running_lane" | "plot_background", "full" | "infield"> = {}