A hall of your own: a water polo pool and an artistic swimming area

Swimming poolDrawn as: A hall with 3 pools to scale: Water polo pool, Artistic swimming pool and Warm-up pool.Water polo poolArtistic swimming poolWarm-up poolSpectators

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

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

const svg = drawKyogijo({
  sport: "swimming",
  pool: {
    venue: {
      pools: [
        { sport: "waterpolo" },
        { sport: "artisticswimming" },
        { sport: "swimming", course: "short", lanes: 6, kind: "warm-up" },
      ],
      apart: 12,
    },
  },
});

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.