Skip to the content

Taisen Brackets対戦

Knockout brackets as SVG, from a list of ties.

Taisen (対戦, たいせん) is Japanese for a matchup: two sides facing each other. About the name

Contents

Reference · Draw a bracket, a table or a road to the final

JUDO_MAT_COLORSconstant

The IJF-style mat colours, in turn: red, green, yellow, purple, orange, teal. Each reads with the ink the board picks for it.

Import it

import { JUDO_MAT_COLORS } from "@johnmorrisdotca/taisen-brackets";

Definition

const JUDO_MAT_COLORS: readonly string[] = Object.freeze(["#d2232a", "#1e9c4c", "#e7b800", "#7a3fb4", "#e8741a", "#12877f"])

Examples

import { JUDO_MAT_COLORS } from "@johnmorrisdotca/taisen-brackets";

console.log(JUDO_MAT_COLORS.length, JUDO_MAT_COLORS[0]);
6 #d2232a

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/taisen-brackets 0.20.0.