UNPKG

@talabes/football-lineup-generator

Version:

A TypeScript library for generating visual football lineup diagrams from team positioning data. Fork of ncamaa/football-lineup-generator with bug fixes and improvements.

18 lines (17 loc) 1.05 kB
// Export all functions for easier importing export { calculateLabelPositions } from './calculateLabelPositions.js'; export { calculatePlayerCoordinates } from './calculatePlayerCoordinates.js'; export { drawField } from './drawField.js'; export { drawFieldRotated90CCW } from './drawFieldRotated.js'; export { drawPlayer } from './drawPlayer.js'; export { drawSubstitutes } from './drawSubstitutes.js'; export { drawSubstitutesSplit } from './drawSubstitutesSplit.js'; export { drawTeamLabel } from './drawTeamLabel.js'; export { drawTeamLabelRotated90CCW } from './drawTeamLabelRotated.js'; export { getHalfPitchCoordinates } from './getHalfPitchCoordinates.js'; export { getPositionCoordinates } from './getPositionCoordinates.js'; export { mirrorCoordinatesForAwayTeam } from './mirrorCoordinates.js'; export { renderFullPitch } from './renderFullPitch.js'; export { renderHalfPitch } from './renderHalfPitch.js'; export { renderSplitPitch } from './renderSplitPitch.js'; export { rotatePlayerCoordinates90CCW } from './rotateCoordinates.js';