A short track replay

Replay of the 500 mDrawn as: a short track speed skating oval of 111.12 metres on a rink of 60 by 30 metres, with 5 tracks, seven blocks in each curve, the finishing line and the starting lines. Races marked: 500 m. Data: Replay, 0:44. 3 tracked objects. By team: home 3. 4 events.PlayersBy team: home 3.A 1B 3C 5Shirt numbers135

The picture above was drawn when the docs were built. The script below draws it again with the published package.

import { skatingReplay } from "@johnmorrisdotca/kyogijo-stadiums/skating";
import { drawFrame } from "@johnmorrisdotca/kyogijo-stadiums/replay";

const replay = skatingReplay([{ name: "A", position: 1, time: 40 }, { name: "B", position: 3, time: 41 }, { name: "C", position: 5, time: 41.4 }], { race: "500m", surface: { league: "isu-short-track" } });
const svg = drawFrame(replay.options, replay.timeline, 10, replay.look);

This page imports the package from jsDelivr (major version 0), which serves only versions that have been published to npm. A feature added after the last release is not in it: the page then keeps the picture above and says why. The docs were built from version 0.6.1.