[Userscript] Hitsuji Animated Stroke Order Diagrams

Hitsuji Stroke Order Diagrams

by acm

version 0.9 (beta!)

This script add stroke order animations to WK. It uses the Draw Me A Kanji (DMAK) library (you can see a demo of the animations there). The kanji stroke data comes from KanjiVG.

Installation Instructions

  1. Get Tampermonkey (installation instructions in this thread)
  2. Click on the installation link (Tampermonkey should auto-detect .user.js files)
  3. Install the script after you check the security (at least see that script will only change the wanikani website, all @include should be related to WK :wink:)


Stroke order animations for kanji and vocab entries on:

  • Content pages
  • Lessons and lesson reviews
  • Reviews

This animation can be started/stopped and reset by clicking.

In addition, it adds a pop-up window with a large version of the animation, which includes stroke numbers and controls to step through the animations.

Example Screenshots


Other Scripts



Wait, what? Who draws the tree radical with the bottom-left stroke first?

1 Like

Looks like that particular SVG is a bit broken, it draws the right thing, but the number 1 is placed a bit too far south :slight_smile: You are looking at stroke 3.

It’s a kanjiVG problem, I can report it right away :upside_down_face: [or it’s DMAK, the SVG looks fine actually.]

Edit it’s probably related to drawing off-screen for a moment, I sneakily fixed it.

Image before

1 Like

Had me going there for a minute. “Have I been doing it wrong this whole time?” :smiley:

1 Like

one of those script i didn’t know i wanted until i saw it - thanks :smile:
works perfectly so far!

1 Like

Thanks for the feedback :slight_smile: Good to hear that it does work somewhere else, I haven’t tested the script too much yet.

I saw the animations on kaniwani and thought it would be perfect on WK for my writing practice.

I came here was expecting stroke order diagrams of sheep, severely disappointed /s


Sorry, my name puns are just getting more terrible with each script …

1 Like