Kyogijo Stadiums競技場

Guides, the reference, a gallery of every picture it can draw, and how it compares: the pages are made from the package's own files when the site is built.

About the name

The pages are in English; this contents, the search and the buttons are in Japanese.

Gallery: lacrosse, rugby, Australian football, Gaelic games, cricket, field hockey and handball

Seven field sports from their own rulebooks: each league's surface, the scores they write their own way (goals and behinds, goals and points, runs for wickets), a named ground, a boundary of your own and a part of the surface.

35 pictures, each drawn by the build from the code under it, which the Copy button copies. They are drawn as they come near the screen. Open in a page loads the published package from jsDelivr, which serves only released versions.

Each surface, each league#

sport is lacrosse, rugby, afl, gaelic, cricket, fieldhockey or handball; league picks the rulebook.

Lacrosse: World Lacrosse's men's field

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

const svg = drawKyogijo({ sport: "lacrosse" });

Lacrosse: World Lacrosse's women's field

The 15 metre and 11 metre marking areas, the goal circle and the restraining lines.

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

const svg = drawKyogijo({ sport: "lacrosse", league: "world-women" });

Lacrosse: the NLL's box floor

Boards with rounded corners, the crease cut by a flat, the restraining lines and the face-off circle.

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

const svg = drawKyogijo({ sport: "lacrosse", league: "nll" });

Rugby union: World Rugby's field

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

const svg = drawKyogijo({ sport: "rugby" });

Rugby league: the NRL's field

A line every 10 metres, the 20 and 40 metre lines red, and the scrum lines.

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

const svg = drawKyogijo({ sport: "rugby", league: "nrl" });

Australian football: the AFL's ground

An oval cut at each end by the goal line and the behind lines, at the size of the MCG.

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

const svg = drawKyogijo({ sport: "afl" });

Gaelic football: the GAA's field

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

const svg = drawKyogijo({ sport: "gaelic" });

Hurling: the same field with the 65 metre lines

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

const svg = drawKyogijo({ sport: "gaelic", league: "gaa-hurling" });

Cricket: the ICC's ground with its 30-yard circle

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

const svg = drawKyogijo({ sport: "cricket" });

Field hockey: the FIH's pitch

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

const svg = drawKyogijo({ sport: "fieldhockey" });

Handball: the IHF's court

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

const svg = drawKyogijo({ sport: "handball" });

The scores#

Australian football writes goals, behinds and the total; Gaelic games goals, points and the total; a cricket score is a board of runs, wickets and overs, innings by innings.

Australian football: 10.12 (72) to 9.14 (68)

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

const svg = drawKyogijo({
  sport: "afl",
  away: { name: "Australia", abbr: "AUS", color: "#00843d", goals: 10, behinds: 12 },
  home: { name: "Ireland", abbr: "IRL", color: "#169b62", goals: 9, behinds: 14 },
  status: "final",
  competition: "Grand Final",
});

Gaelic football: 2-14 (20) to 1-15 (18)

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

const svg = drawKyogijo({
  sport: "gaelic",
  away: { name: "Ireland", abbr: "IRL", color: "#169b62", goals: 2, points: 14 },
  home: { name: "Australia", abbr: "AUS", color: "#00843d", goals: 1, points: 15 },
  status: "final",
  competition: "All-Ireland Final",
});

Cricket: a limited-overs match

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

const svg = drawKyogijo({
  sport: "cricket",
  away: {
    name: "Australia",
    abbr: "AUS",
    score: 245,
    color: "#00843d",
    wickets: 6,
    overs: "50",
    innings: [245],
  },
  home: {
    name: "England",
    abbr: "ENG",
    score: 187,
    color: "#c8102e",
    wickets: 10,
    overs: "41.2",
    innings: [187],
  },
  status: "final",
  competition: "Final",
});

Cricket: a Test match, innings by innings

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

const svg = drawKyogijo({
  sport: "cricket",
  away: {
    name: "Australia",
    abbr: "AUS",
    score: 490,
    color: "#00843d",
    wickets: 4,
    overs: "112",
    innings: ["312", "178/4"],
  },
  home: {
    name: "England",
    abbr: "ENG",
    score: 564,
    color: "#c8102e",
    wickets: 10,
    overs: "130.3",
    innings: ["263", "301"],
  },
  status: "innings-4",
  competition: "Test, day 5",
});

Rugby, tall

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

const svg = drawKyogijo({
  sport: "rugby",
  away: { name: "England", abbr: "ENG", score: 27, color: "#c8102e" },
  home: { name: "France", abbr: "FRA", score: 24, color: "#0055a4" },
  status: "final",
  competition: "Final",
  orientation: "portrait",
});

Handball, as a strip

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

const svg = drawKyogijo({
  sport: "handball",
  away: { name: "France", abbr: "FRA", score: 27, color: "#0055a4" },
  home: { name: "Japan", abbr: "JPN", score: 24, color: "#bc002d" },
  status: "final",
  competition: "Final",
  size: "badge",
});

A size, a ground and a boundary#

field takes a length and a width within the range the rules allow, a named ground of the AFL, or a cricket boundary, round or oval.

Melbourne Cricket Ground: 160 by 141 metres

The length and width the AFL's venue page prints.

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

const svg = drawKyogijo({ sport: "afl", field: { ground: "mcg" } });

Optus Stadium: 165 by 130 metres

The length and width the AFL's venue page prints.

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

const svg = drawKyogijo({ sport: "afl", field: { ground: "optus-stadium" } });

The Gabba: 156 by 138 metres

The length and width the AFL's venue page prints.

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

const svg = drawKyogijo({ sport: "afl", field: { ground: "gabba" } });

Sydney Cricket Ground: 149 by 136 metres

The length and width the AFL's venue page prints.

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

const svg = drawKyogijo({ sport: "afl", field: { ground: "scg" } });

Marvel Stadium: 159.5 by 128.8 metres

The length and width the AFL's venue page prints.

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

const svg = drawKyogijo({ sport: "afl", field: { ground: "marvel-stadium" } });

GMHBA Stadium: 170 by 114 metres

The length and width the AFL's venue page prints.

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

const svg = drawKyogijo({ sport: "afl", field: { ground: "gmhba-stadium" } });

Rugby union at its least: 94 by 68 metres, in-goal 6 metres

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

const svg = drawKyogijo({ sport: "rugby", units: "m", field: { length: 94, width: 68, inGoal: 6 } });

Cricket: an oval boundary, 90 yards straight and 65 square

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

const svg = drawKyogijo({ sport: "cricket", units: "yd", field: { boundary: { straight: 90, square: 65 } } });

Cricket: the ICC's women's ground, circle of 25.15 yards

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

const svg = drawKyogijo({ sport: "cricket", league: "icc-women" });

A part of the surface, a look and a feature#

range crops to a named part; look and featureColors colour the whole or a part.

Rugby: the 22

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

const svg = drawKyogijo({ sport: "rugby", range: "twenty-two" });

Australian football: inside the fifty metre arc

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

const svg = drawKyogijo({ sport: "afl", range: "forward-fifty" });

Cricket: the pitch, with its creases and wickets

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

const svg = drawKyogijo({ sport: "cricket", range: "pitch" });

Field hockey: the circle

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

const svg = drawKyogijo({ sport: "fieldhockey", range: "circle" });

Handball: the goal area

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

const svg = drawKyogijo({ sport: "handball", range: "goal-area" });

Lacrosse: the crease

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

const svg = drawKyogijo({ sport: "lacrosse", league: "ncaa-men", range: "crease" });

Rugby, night

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

const svg = drawKyogijo({ sport: "rugby", look: "night" });

Gaelic football, chalkboard

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

const svg = drawKyogijo({ sport: "gaelic", look: "chalkboard", landmarks: true });

Rugby league, red lines in gold

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

const svg = drawKyogijo({ sport: "rugby", league: "nrl", featureColors: { "red-lines": "#d4a017" } });