The pages are in English; this contents, the search and the buttons are in Japanese.
Gallery: the situation of a game
Hockey's skaters and shootout, baseball's runners, outs and count, and football's down, distance and drives, drawn on the surface, in the badge and in the compact card. The teams are made up. The pictures share one stylesheet, which is left out of each one's SVG here; drawKyogijo puts it in every drawing unless style: "none" says not to.
Hockey: the strength, the empty net and the shootout#
A pill says the strength (5v4 PP), the empty net (EN), a delayed penalty and the clock; the attacking zone is tinted in the attacking team's colour. A shootout is a strip of dots across centre ice: a goal filled, a miss hollow, and the rounds after the third apart, as sudden death.
A power play, 5 against 4
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "live",
situation: { awaySkaters: 5, homeSkaters: 4, clock: "1:42" },
});The goalkeeper pulled, the net ringed
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "live",
situation: { awaySkaters: 6, homeSkaters: 5, emptyNet: "away" },
});A delayed penalty
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "live",
situation: { delayedPenalty: "home" },
});Four against four
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "live",
situation: { awaySkaters: 4, homeSkaters: 4 },
});A shootout into sudden death
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "final-so",
situation: {
shootout: { rounds: [[true, false], [true, true], [false, true], [false, false], [true, false]] },
},
});A power play, tall
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "live",
orientation: "portrait",
situation: { awaySkaters: 5, homeSkaters: 4, clock: "1:42" },
});A power play on the rink of 2000-01
The blue lines are 73 feet from the end boards, the goal lines 13, and there is no trapezoid.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "live",
year: 2000,
situation: { awaySkaters: 5, homeSkaters: 4, clock: "1:42" },
});Cropped to the offensive zone
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "live",
range: "offensive-zone",
situation: { awaySkaters: 5, homeSkaters: 4, clock: "1:42" },
});The Olympic rink, 60 by 26 m
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "live",
league: "olympic",
situation: { awaySkaters: 6, homeSkaters: 5, emptyNet: "away" },
});The badge
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "P3 1:12",
size: "badge",
situation: { awaySkaters: 5, homeSkaters: 4, clock: "1:42" },
});The compact card
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "P3 1:12",
size: "compact",
situation: { awaySkaters: 5, homeSkaters: 4, clock: "1:42" },
});Baseball: the bases, the outs and the count#
The occupied bases are lit on the park's diamond, and a scorebug stands behind home plate: the diamond with its runners, the outs, the inning with an arrow for its half, and the count. In the badge and the compact card the scorebug takes the place of the picture of the field.
Bases loaded, two out, a full count
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Top 7",
situation: { bases: [true, true, true], outs: 2, inning: 7, half: "top", balls: 3, strikes: 2 },
});Runners on first and third
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Bottom 3",
situation: { bases: [true, false, true], outs: 1, inning: 3, half: "bottom", balls: 1, strikes: 1 },
});Nobody on, nobody out
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Top 1",
situation: { bases: [false, false, false], outs: 0, inning: 1, half: "top", balls: 0, strikes: 0 },
});At Fenway Park
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Top 7",
park: "fenway-park",
situation: { bases: [true, true, true], outs: 2, inning: 7, half: "top", balls: 3, strikes: 2 },
});Softball
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Top 7",
league: "fastpitch",
situation: { bases: [true, true, true], outs: 2, inning: 7, half: "top", balls: 3, strikes: 2 },
});At Koshien
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Top 7",
park: "hanshin-koshien-stadium",
situation: { bases: [true, true, true], outs: 2, inning: 7, half: "top", balls: 3, strikes: 2 },
});Cropped to the infield
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Top 7",
range: "infield",
situation: { bases: [true, true, true], outs: 2, inning: 7, half: "top", balls: 3, strikes: 2 },
});The badge
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Top 7",
size: "badge",
situation: { bases: [true, true, true], outs: 2, inning: 7, half: "top", balls: 3, strikes: 2 },
});The compact card
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Top 7",
size: "compact",
situation: { bases: [true, true, true], outs: 2, inning: 7, half: "top", balls: 3, strikes: 2 },
});Football: the line of scrimmage, the first down and the drives#
The line of scrimmage is blue and the first-down line yellow, the red zone is tinted, and a tag says the down and distance and the yard line. drive draws a drive chart: an arrow for each drive, in a lane of its own, with how it ended. The CFL's field is 110 yards with end zones of 20, and a team has three downs.
Third and 7 in the red zone
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});With a drive chart
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
situation: {
ballOn: 88,
toGo: 7,
down: 3,
possession: "away",
drive: [
{ from: 25, to: 48, result: "punt" },
{ from: 30, to: 100, result: "touchdown" },
{ from: 20, to: 62, result: "field-goal" },
{ team: "home", from: 25, to: 40, result: "interception" },
],
},
});First and goal
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
situation: { ballOn: 96, toGo: "goal", down: 1, possession: "home" },
});The CFL: third down on a field of 110 yards
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "cfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
situation: { ballOn: 98, toGo: 12, down: 3, possession: "home" },
});The IFAF's field
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "ifaf",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});The NCAA's field
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
league: "ncaa",
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});The field of 1980
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
year: 1980,
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});Tall
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
orientation: "portrait",
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});Cropped to the red zone
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
range: "red-zone",
situation: {
ballOn: 88,
toGo: 7,
down: 3,
possession: "away",
drive: [{ from: 30, to: 100, result: "touchdown" }, { from: 20, to: 62, result: "field-goal" }],
},
});Under a night look
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
look: "night",
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});The badge
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "Q3 4:21",
size: "badge",
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});The compact card
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "Q3 4:21",
size: "compact",
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});Dark, and in Japanese#
The pill, the scorebug and the tag take the score panel's colours, so they follow the theme; the words of the description follow language.
Hockey, dark
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nhl",
away: { name: "Northern Owls", abbr: "NOW", score: 3, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 2, color: "#0f7a7a" },
status: "live",
theme: "dark",
situation: { awaySkaters: 5, homeSkaters: 4, clock: "1:42" },
});Baseball, dark
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "mlb",
away: { name: "Northern Owls", abbr: "NOW", score: 4, color: "#3a2d6b" },
home: { name: "Lakeshore Anchors", abbr: "LSA", score: 4, color: "#0f7a7a" },
status: "Top 7",
theme: "dark",
situation: { bases: [true, true, true], outs: 2, inning: 7, half: "top", balls: 3, strikes: 2 },
});Football, dark
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
theme: "dark",
situation: {
ballOn: 88,
toGo: 7,
down: 3,
possession: "away",
drive: [
{ from: 25, to: 48, result: "punt" },
{ from: 30, to: 100, result: "touchdown" },
{ from: 20, to: 62, result: "field-goal" },
{ team: "home", from: 25, to: 40, result: "interception" },
],
},
});The badge in Japanese
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "Q3 4:21",
size: "badge",
language: "ja",
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});The field in Japanese
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "nfl",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "live",
language: "ja",
situation: { ballOn: 88, toGo: 7, down: 3, possession: "away" },
});