Jumps in the pit

Long jump: the attemptsDrawn as: an athletics track of 400 metres with 8 lanes, its bends of 36.50 metres radius at the kerb and its straights of 84.39 metres, with the finish line and the lane numbers. The Long jump, drawn alone at a large scale. Data: 3 Attempts. By outcome: attempt 2, best 1. By team: home 3. Values from 8.1 to 8.46. 3 Best mark.3 AttemptsBy outcome: attempt 2, best 1. By team: home 3. Values from 8.1 to 8.46.B, 8.10 mB, 8.46 m, best markB, 8.28 m3 Best mark8.108.468.28

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

import { fieldMarks } from "@johnmorrisdotca/kyogijo-stadiums/athletics";

const jumps = [{ athlete: "B", distance: 8.1 }, { athlete: "B", distance: 8.46, across: 0.3 }, { athlete: "B", distance: 8.28, across: -0.2 }];
const svg = fieldMarks("long-jump", jumps, { surface: { athletics: { layout: "long-jump" } }, labels: true }).draw();

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.