surfaceMesh
[ "background", "infield_dirt", "infield_grass", "pitchers_mound", "home_plate", "base", "base", "base", "pitchers_plate", "batters_box", "batters_box", "batters_box", "batters_box", "catchers_box", "foul_line", "foul_line", "running_lane" ]
import { surfaceMesh } from "@sportsdataverse/sdvplot/three";
const field = surfaceMesh("baseball", "mlb");
// in three.js: geometry.setAttribute("position", new BufferAttribute(field.positions, 3)), and so on
field.loops.map((l) => l.name);
Tags: docstring · surfaceMesh. All sdvplot examples.