The pages are in English; this contents, the search and the buttons are in Japanese.
Entry points
The API reference lists every export of every entry point with its signature and its doc comment. It is made from the source by pnpm site, so it cannot fall behind the code.
| Entry | What it holds |
|---|---|
@johnmorrisdotca/kyogijo-stadiums | drawKyogijo, drawSurface, drawScore, drawBadge, drawLayers, RANGES, layerTable, describe, winnerOf, statusLabel, isPortrait, statusText; placeBoard, BOARD_POSITIONS, BOARD_CLEAR (a board laid over a drawing); situationText, readSituation, DRIVE_CODES, KYOGIJO_SITUATION_STYLE; OUTCOMES, rampColour; SPORTS, COURT_THEMES, LOOKS, LOOK_NAMES, LOOK_PAIRS, lookPalette, lookStyle, contrastOf, FEATURES, FEATURE_INFO, KYOGIJO_STYLE and its parts (KYOGIJO_LOOK_STYLE, KYOGIJO_FEATURE_STYLE, KYOGIJO_NOTE_STYLE), SOCCER, SOCCER_PITCHES, SOCCER_PROVIDERS, soccerSpec, soccerFrame, rescale, PARKS, PARK_IDS, parkById, parkByWikidata, parkPointsIn, parkSourceUrl, parkUnit, fenceFor; rulesFor, eraChanges, eraStates, eraRange, seasonLabel, footballIn, ERA_SPORTS, ERA_CURRENT, ERA_SOURCES; SURFACE_UNITS, UNITS, convertLength; safeColour, safeLogo, inkOn; fitLines, textWidth, abbreviate, capitals; KYOGIJO_STYLE, KYOGIJO_TEAM_STYLE, KYOGIJO_STRINGS, COLOR_PROPERTIES, VERSION and the option types |
@johnmorrisdotca/kyogijo-stadiums/geometry | FOOTBALL, NHL, NBA, MLB, SOCCER, SOCCER_PITCHES, soccerSpec, soccerPitchClass, fenceAt, fencePoints, threePointJoin, skinJoin, boardsY and the other dimensions; TENNIS, VOLLEYBALL, BEACH_VOLLEYBALL, BADMINTON, PICKLEBALL, TABLE_TENNIS, SWIMMING, WATER_POLO, DIVING, ARTISTIC, SURFACE_UNITS, convertLength, convertPoint, lengthsIn, dimensionsOf, surfaceSize, fenceIn |
@johnmorrisdotca/kyogijo-stadiums/frames | toSurface, fromSurface, convert, convertPoints, flipEnds, attackingIn, registerFrame, frameByName, framesOf, piecewise, span, FRAMES, RETROSHEET_ZONES, zoneToPoint, zoneAt, SOCCER_PROVIDERS, rescale and the frame types |
@johnmorrisdotca/kyogijo-stadiums/zones | zoneAt, zoneAtSurface, zoneName, zoneResolver, the questions (isThreePointer, inPaint, inRestrictedArea, inSlot, inCrease, inPenaltyArea, inSixYardBox, inRedZone, betweenHashes, isFair, overWall, onWarningTrack), homeRun, isHomeRun, wallHeightAt, PARKS_WITHOUT_WALL_HEIGHTS, RULE_IDS and the types: where a point lies by a sport's own rules |
@johnmorrisdotca/kyogijo-stadiums/pointer | clientPointToField, fieldPointToClient, clientPointToFrames and the types: a click on a drawing (made with pointer: true) as a place on the field in a provider's numbers, with its zone |
@johnmorrisdotca/kyogijo-stadiums/target | drawGoalMouth, drawStrikeZone, drawStumps, drawTarget, goalSize, goalZoneIds, targetZoneAt, lengthZoneOf, LENGTH_ZONES, GOAL_SPORTS, TARGET_SPORTS, KYOGIJO_TARGET_STYLE and the types: a goal, the strike zone or the stumps seen end-on, with the shots on them |
@johnmorrisdotca/kyogijo-stadiums/layers | drawLayers, layerTable, renderLayers, outlineOf, OUTCOMES, rampColour, the heat numbers (binGrid, densityGrid), ZONE_SETS, HEAT_RAMPS; FORMATIONS, formationById, positionName; convexHull, delaunay, voronoiCells, polygonArea, polygonCentroid; KYOGIJO_TEAM_STYLE and the layer types |
@johnmorrisdotca/kyogijo-stadiums/charts | nbaShotChart, nhlShotMap, mlbSprayChart, nflPassChart, soccerShotMap, soccerGoalMouth, curlingStones, curlingScore, curlingHeat, curling's statistics (curlingFreeGuards, curlingInPlay, curlingHammers, curlingEndStats, curlingGuardScores, curlingShotStats), splitsChart, passNetwork and the chart types |
@johnmorrisdotca/kyogijo-stadiums/layouts | drawGrid, GRID_PRESETS, GRID_MAX_CELLS, KYOGIJO_GRID_STYLE, backgroundMarkup, resolveBackground, BACKGROUND_PATTERNS and the grid and background types: small multiples with a shared title, subtitle, key and credit line, and the grounds behind a drawing or a grid |
@johnmorrisdotca/kyogijo-stadiums/multi | drawMulti, multiLayout, multiFit, multiTable, multiSetting, fitSentence, needsSentence, specOf, venueOf, MULTI_PRESETS, MULTI_PRESET_IDS, MULTI_VENUES, MULTI_SOURCES, multiPreset, multiVenueById, multiSource, KYOGIJO_MULTI_STYLE, MULTI_WORDS and the layout types: several surfaces laid out together for one event, to scale, with the floor they need, the halls and whether a layout fits one, and a real stadium round it |
@johnmorrisdotca/kyogijo-stadiums/athletics | laneDraw, raceResults, raceReplay, fieldMarks, formatTime, distanceRun; athleticsPlan, athleticsLeague, racesOf, eventsOf, RACES, RACE_IDS, FIELD_EVENTS, FIELD_EVENT_IDS, raceById, fieldEventById; the track's geometry (lap, pose, stagger, breaklineStagger, laneRadius, laneEdge, distanceOn, firstStart, markRace, staggerOf, scPose); WA_STANDARD_TRACK, WA_SHORT_TRACK, WA_STAGGER_TABLE, WA_SHORT_STAGGER_TABLE, ATHLETICS_LEAGUES, ARENA, SECTOR_REACH, SECTOR_ANGLE, JAVELIN_HALF, KYOGIJO_ATHLETICS_STYLE, KYOGIJO_TRACK_STYLE and the chart and option types: the athletics stadium's plan, races, field events and charts |
@johnmorrisdotca/kyogijo-stadiums/budo | dojo, drawDojo, DOJO_STANDARDS; budoPlan, budoLeague, BUDO_SPORTS, isBudoSport, BUDOKAN_ARENA; the tatami (lay, tint, checker, fourCorners, matCount, shapeOfJo, floorOf, DOJO_SIZES, TATAMI); KIMARITE, KIMARITE_COUNT, kimariteOf, kimariteName; BUDO_LOOKS, lookNames, KYOGIJO_BUDO_STYLE; the figures (IJF_CONTEST, AJJF_CONTEST, IJF_KATA, WKF_KUMITE, WKF_KATA, FIK_SHIAI_JO, JSA_DOHYO, KINTEKI, ENTEKI, the leagues of each sport); HALLS; budoScoreText, budoView and the types: judo, karate, kendo, sumo, kyūdō and the dojo builder |
@johnmorrisdotca/kyogijo-stadiums/judging | drawJudging, judgingChart, judgingDrawing, judgingTable, judgingText, mountJudgingTurn, judgingTurnMarkup, buildJudgingTurn, JUDGING_PRESETS, JUDGING_SEATS, JUDGING_SEAT_WORDS, JUDGING_STYLES, JUDGING_MATS_MAX, JUDGING_LIMITS, JUDGING_WORDS, KYOGIJO_JUDGING_STYLE, judgingPlan, judgingSetting, seatOf, seatsOf, seatIn, benchOf, fitCard, fitChart, fitSeats, wrapText and the types: the officials of each judo mat area by seat, with their names and IDs, in the seat where they fit and in a chart where they do not, in 2D and in 3D |
@johnmorrisdotca/kyogijo-stadiums/circuits | drawCircuit, circuitDrawing, circuitTable, circuitText, circuitPlan, mountCircuitTurn, circuitTurnMarkup, buildCircuitTurn, CIRCUITS, CIRCUIT_IDS, circuitById, CIRCUIT_ATTRIBUTION, CIRCUIT_PRESETS, CIRCUIT_MARKER, CIRCUIT_PLANES_MAX, CIRCUIT_WORDS, KYOGIJO_CIRCUIT_STYLE, lineLength and the types: famous race tracks as OpenStreetMap maps them (the Las Vegas Strip Circuit first), with a few facts each, in 2D and in 3D |
@johnmorrisdotca/kyogijo-stadiums/skating | skatingPairs, skatingGrid, skatingResults, skatingReplay, figureElements, formatTime, distanceSkated; skatingPlan, skatingLeague, disciplineOf, racesOf, furnitureOf, RACES, RACE_IDS, LONG_TRACK_RACES, SHORT_TRACK_RACES, ELEMENT_KINDS, ELEMENT_NAMES, raceById; the long track's geometry (longOval, pose, startOf, finishAt, laneEdges, laneRadius, outerEdge, markRace) and the short track's (shortOval, shortPose, startingPositions, trackLines); ISU_LONG_TRACK, ISU_LONG_TRACK_TABLE, ISU_SHORT_TRACK, ISU_FIGURE_RINK, SKATING_LEAGUES, FURNITURE, furnitureBoxes, KYOGIJO_SKATING_STYLE and the chart and option types: the skating rinks' plan, races and charts |
@johnmorrisdotca/kyogijo-stadiums/sound | createKyogijoSound, soundSetOf, soundLevelsOf, soundVoicesOf, soundRoom, soundMix, levelFor, excitementAt, cueKindOf, cuesOf, cuesOfChange, LEVEL_MIX, SOUND_BEDS, SOUND_SETS, SOUND_OF_SPORT, SOUND_LEVELS, CUE_KINDS, SOUND_TAIL, SOUND_WORDS and the types: a surface's crowd and its game's sounds, made in the browser with Web Audio (sound) |
@johnmorrisdotca/kyogijo-stadiums/replay | drawFrame, interpolate, trails, possession, activeEvents, eventsBetween, describeEvent, replayLayers, replaySnapshot, replaySummary, replayTable, replayInfo, replayTimes, replayEvents, replayClock, createReplay, REPLAY_SPEEDS, raceTimeline, progressOf, distanceAt, alongPool, formatTime, parseTime and the replay types |
@johnmorrisdotca/kyogijo-stadiums/scene | sceneOf, sceneFromSvg, sceneToSvg, parseSvg, writeSvg, pathCommands and the scene types: the drawing as plain data, and an SVG that needs no stylesheet |
@johnmorrisdotca/kyogijo-stadiums/canvas | drawToCanvas, withAlpha and the context's minimal type: a drawing on a browser's or a Node canvas context |
@johnmorrisdotca/kyogijo-stadiums/d3 | appendSurface, surfaceDomain: a drawing in a d3 selection, placed by your scales |
@johnmorrisdotca/kyogijo-stadiums/plot | surfaceMark, surfaceScales: a drawing as a mark of an Observable Plot, with its scales |
@johnmorrisdotca/kyogijo-stadiums/geojson | sceneToGeoJSON: a drawing as a GeoJSON FeatureCollection, in feet or a provider's frame |
@johnmorrisdotca/kyogijo-stadiums/png | toPNG, PNG_PEER_MISSING: a drawing as PNG bytes in Node, through the optional peer @resvg/resvg-js |
@johnmorrisdotca/kyogijo-stadiums/turn | mountKyogijoTurn, turnMarkup, turnSupported, uprightsFor, describeUprights, TURN_PRESETS, NET_PRESETS, KYOGIJO_TURN_STYLE, the camera (fit, project, cameraMatrix, clampView, drag, step) and the 3D view's types: a surface as a floor that turns, with what stands on it |
@johnmorrisdotca/kyogijo-stadiums/parks | PARKS, PARK_IDS, parkById, parkByWikidata, parkPointsIn, parkWallsIn, parkQuirksIn, parkSourceUrl, parkUnit, fenceFor |
@johnmorrisdotca/kyogijo-stadiums/eras | rulesFor, eraChanges, eraStates, eraRange, seasonLabel, footballIn, ERA_SPORTS, ERA_CURRENT, ERA_SOURCES and the rule types |
@johnmorrisdotca/kyogijo-stadiums/venues | VENUES, VENUE_IDS, venueById, venueByWikidata, venuesIn, venuesInConference, conferenceOf, VENUE_DIVISIONS, VENUE_CONFERENCES, planVenue, venueBowl, venueOrientation, venueRink, bowlInside, arenaOfVenue, VENUE_ATTRIBUTION and the types: the building of each NHL arena of a division (OpenStreetMap, ODbL) and a plausible bowl from its seats, tiers and roof |
@johnmorrisdotca/kyogijo-stadiums/flythrough | mountFlythrough, flightPlan, cameraAt, stageAt, startOf, stagesOf, foldTime, glide, mapFrame, mapBox, ILLUSTRATIVE_PLAY, playMarkup, FLYTHROUGH_STYLE, FLYTHROUGH_WORDS, flythroughMarkup and the types: one smooth camera from a map to a real arena, into its bowl and to a made-up play on the ice (the map handed over, the building's plan, the 3D arena), its path as plain numbers, and the stage-by-stage still for reduced motion |
@johnmorrisdotca/kyogijo-stadiums/stadiums | STADIUMS, STADIUM_IDS, stadiumById, stadiumByWikidata, stadiumConfigOf, stadiumConfigs, stadiumKind, stadiumNames, stadiumSeats, stadiumOrientation, stadiumFrameHeading, planStadium, planPark, stadiumBowl, stadiumBowlInside, groundOfStadium, VENUE_ATTRIBUTION and the types: the building of each stadium and ballpark (OpenStreetMap, ODbL) and a plausible bowl from the seats of each configuration, its bowls and its roof |
@johnmorrisdotca/kyogijo-stadiums/district | planDistrict, drawDistrict, describeDistrict, districtMember, buildDistrictTurn, mountDistrictTurn, mountDistrict, districtTurnMarkup, districtPresets, DISTRICT_IDS, DISTRICT_MODES, OUTSIDE_LEVELS, OUTSIDE_VENUES, OUTSIDE_ROOM, OUTSIDE_DENSITY, outsideCrowd, outsideCount, rasterOutside, walkMask, venueGates, GATE_FACTS, GATE_VENUES, gateName, KYOGIJO_DISTRICT_STYLE, VENUE_ATTRIBUTION, the Kodokan (KODOKAN, KODOKAN_FLOORS, kodokanMember) and the types: several real venues on one plan at their real positions, in 2D and 3D, with the buildings round them when asked (context) and a floor of the Kodokan (floor) |
@johnmorrisdotca/kyogijo-stadiums/plateau | TOKYO_DOME_CITY, PLATEAU_AREAS, PLATEAU_ATTRIBUTION, decodeBuilding, CONTEXT_BLOCKS, CONTEXT_REACH, CONTEXT_LANDMARK, CONTEXT_LANDMARK_REACH, CONTEXT_TONES and the type ContextArea: the buildings round Tokyo Dome City from Project PLATEAU (MLIT), as data a district takes in its context option |
@johnmorrisdotca/kyogijo-stadiums/osm | VANCOUVER_CENTRE, OSM_AREAS, OSM_ATTRIBUTION, ContextArea: the buildings and streets round downtown Vancouver's venues from OpenStreetMap (ODbL), as a district's context |
@johnmorrisdotca/kyogijo-stadiums/cityctx | contextFor, CITYCTX_VENUES, CITYCTX_AREAS, VANCOUVER_NATURE, SEATTLE_SODO, SEATTLE_CENTER, SEATTLE_CITY and the type ContextArea: the streets, buildings, water and trees round the venues of Seattle and the water and trees of Vancouver's (OpenStreetMap, ODbL, with the two Cities' open data), as data a district takes in its context option, and which areas go with some venues |
@johnmorrisdotca/kyogijo-stadiums/areas | loadAreasFor, loadArea, areaKeysFor, AREA_KEYS, CITYCTX_VENUES, TOKYO_VENUES and the type ContextArea: the same areas as osm, cityctx and plateau, one file each, read with a dynamic import() only for the area a page shows, so a page carries no other area's data |
@johnmorrisdotca/kyogijo-stadiums/venue-data | loadVenueDataFor, venueDataKeysFor, loadArena, loadPark, loadGround, loadOutside, loadStrings, venueName and the types Arena, Park, Ground: the records of the arenas, parks and grounds (and the real venue of an NHL arena) one file each, the walkable ground of a crowd outside and the words of a language, read with a dynamic import() only for the venues and the language a page shows, and the venues' names to list them by without reading any |
@johnmorrisdotca/kyogijo-stadiums/district-lean | everything district exports, and loadVenueDataFor, loadOutside, loadStrings, venueName, loadAreasFor, STADIUMS, QUALITIES: the district for a page that carries only the venues it shows. It holds no arena, park or ground until loadVenueDataFor(venues) has read the files of those it is about to draw, no walkable ground until loadOutside(venues) has read it, no words until loadStrings(language) has read the language it draws in, and not the layers part of the drawing; with them read it draws what district draws, to the last character. The demo's district page uses it |
@johnmorrisdotca/kyogijo-stadiums/grounds | GROUNDS, GROUND_IDS, groundById, groundByWikidata, groundNameIn, groundsHosting, groundSourceUrl |
@johnmorrisdotca/kyogijo-stadiums/events | EVENTS, EVENT_IDS, EVENT_SOURCES, eventById, eventOptions, eventSources, eventFit, fitOf, conventionPlacement, KYOGIJO_SPECIAL_STYLE and the game types: the special games, a surface set inside another |
@johnmorrisdotca/kyogijo-stadiums/atlas | PLACES, placeById, placesBy, atlasFacets, surfaceOf |
@johnmorrisdotca/kyogijo-stadiums/catalogue | CATALOGUE, CATALOGUE_GROUPS, CATALOGUE_SPORTS, catalogueById, catalogueByStatus, catalogueBySport, catalogueByGroup, catalogueCoverage, catalogueWanted: every venue drawn today, being built or wanted, data only. The catalogue |
@johnmorrisdotca/kyogijo-stadiums/catalogue.json | the same catalogue as a JSON file, also published at https://johnmorrisdotca.github.io/kyogijo-stadiums/catalogue.json |
@johnmorrisdotca/kyogijo-stadiums/mount | mountKyogijo (with its replay method), kyogijoElement, containerAspect |
@johnmorrisdotca/kyogijo-stadiums/react | kyogijoProps, kyogijoHtml, createKyogijo |
@johnmorrisdotca/kyogijo-stadiums/element | KyogijoField (with its timeline, replaySettings and replay), defineKyogijoField, optionsFromAttributes, replaySettingsFromAttributes, KYOGIJO_TAG, KYOGIJO_ATTRIBUTES |
@johnmorrisdotca/kyogijo-stadiums/element/define | importing it registers <kyogijo-field> |
Every function of the drawing is pure: it returns new values and never changes what it was given. The renderers (canvas, d3, plot) write to the context, selection or document you hand them, and toPNG returns a promise; each is its own entry and none imports anything from outside the package.