[Userscript] Stroke & Radical Aids: stroke order and radicals on the review card

:warning: This is a third-party app and is not created by the WaniKani team. By using this, you understand that it can stop working at any time or be discontinued indefinitely.

I like having visual reinforcement while I review, but getting to the stroke order or radicals means opening Item Info and clicking through it every time. This script puts that info on the review card itself, so it’s there without the extra keystrokes.

It’s mostly based on the WaniKani Stroke Order script, made by @looki and kept running by @Kumirei, with fixes from @Sinyaven, @Thalanor, Halo and others in the original thread. I started out fixing it for my own use, moved its stroke diagram onto the review card, and then added the radical parts. The original idea and diagram are theirs, so thanks to everyone who worked on it.

What it does

For kanji, the stroke order shows to the left of the kanji, one stroke per frame, building up to the kanji itself.

After you answer, the kanji’s radicals show up on the right.

For radicals, the WaniKani mnemonic image pops up to the left after you answer, right or wrong. Click it to close it.

It works in reviews, lesson quizzes and extra study.

Install

  1. Install WaniKani Open Framework if you don’t have it. The script requires it.
  2. Install the script from Greasy Fork: WaniKani Stroke & Radical Aids

Settings

Open the settings from the Open Framework menu (Settings > Stroke & Radical Aids) or from the Tampermonkey menu. You can turn each part on or off, and change:

  • when the stroke order shows (always, or only after you answer)
  • when the radicals and mnemonic images show (after any answer, or only after wrong ones)
  • the size of the stroke frames and mnemonic images
  • whether radical names are shown
  • which pages it runs on

You can also click the stroke frames to fade them out if you want to test yourself. If you undo an answer with Double-Check, the extra info hides again.

Notes

  • The stroke order hides itself if there isn’t enough room, like on a phone.
  • Each mnemonic image is loaded once from the radical’s page and then saved.
  • It doesn’t use Item Info Injector, so it won’t conflict with scripts that do.

Credits

  • WaniKani Stroke Order by Looki, maintained by Kumirei, with help from Sinyaven, Thalanor, Halo and others (GPL-3.0). This script uses the same license.
  • The stroke diagram style comes from jisho.org, by way of the original script.
  • Stroke data from KanjiVG by Ulrich Apel (CC BY-SA 3.0).
  • Radical info from WaniKani Open Framework.

If something isn’t working, let me know here. Console messages (F12) that start with [WK Stroke & Radical Aids] help a lot.

1 Like