yadokari

Display and terminals

How kanji are drawn

TerminalsKanji
kitty graphicsGhostty, kitty, Riodrawn as images, filling the field, in the font you choose
plainWezTerm, GNOME Terminal, Ptyxis, foot, macOS Terminal and others; inside tmux; with NO_COLORin the terminal’s own font

yadokari asks the terminal what it supports when it starts. yadokari --terminal shows what it found and why it chose as it did:

yadokari --terminal

--gfx plain or --gfx kitty (or gfx in the config) overrides the choice.

Fonts

For the kitty tier, yadokari needs a Japanese font: on macOS, Hiragino is there already; on Linux, install one such as Noto Sans CJK JP (google-noto-sans-cjk-fonts on Fedora, fonts-noto-cjk on Debian and Ubuntu). font in the config picks a font file.

Font roulette (roulette = true) draws each question in a different installed Japanese font, never the same one twice in a row, and names it after you answer, so you learn to read kanji in more than one typeface. roulette_fonts limits it to the fonts you list. Variable fonts can’t be drawn; install the static versions.

 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

Noto Sans CJK JP
 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

Noto Serif CJK JP
 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

Klee One
 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

Yomogi

Themes

theme in the config. The type colours (radicals, kanji, vocabulary) mark the glyph field, the counts and the mnemonics.

 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

yadokari (the default)
 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

wanikani: WaniKani's colours
 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

blackbox: calmer, deep colours
 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

high-contrast: 7:1 or more, bold, nothing faint
 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

terminal: your terminal's own palette (a sample one here)

Single colours can be changed in a [theme] section of the config, as "#rrggbb" or a number for one of your terminal’s palette colours.

Glyph fields

field in the config: how the field shows the subject type’s colour.

 yadokari · reviews               0 / 27 · 100% correct 
▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

block (the default)
 yadokari · reviews               0 / 27 · 100% correct 
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃                                                      ┃
┃                                                      ┃
┃                                                      ┃
┃                                                      ┃
┃                                                      ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

thick
 yadokari · reviews               0 / 27 · 100% correct 
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐
▌                                                      ▐

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

rails
 yadokari · reviews               0 / 27 · 100% correct 
┏━━━━━━                                          ━━━━━━┓
┃                                                      ┃
                                                        
                                                        
                                                        
┃                                                      ┃
┗━━━━━━                                          ━━━━━━┛

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

corners
 yadokari · reviews               0 / 27 · 100% correct 
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        
                                                        

╭─ Kanji meaning ────────────────────── A English ─╮ │ Sch │ ╰────────────────────────────────────────────────────╯

Enter submit · Esc dashboard · ctrl+w wrap-up

fill

Light and dark terminals

yadokari asks the terminal for its background colour. On a light one, the yadokari, wanikani, blackbox and high-contrast themes use their light versions; the terminal theme follows your palette anyway. On a background between light and dark, secondary text that would be hard to read is drawn in your terminal’s own text colour. background = "light" or "dark" in the config overrides what the terminal says.