Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 757 Bytes

Readme.md

File metadata and controls

17 lines (12 loc) · 757 Bytes

Kanji Stroke Order Jenerator

Usage

To use the browser version, just load the web page

To use the cli:

  1. Clone the repo
  2. Install node (v12 is what I used)
  3. yarn install
  4. `node generate-diagrams.js --dir= --kanji=<kanji[,kanji]>

The default directory is downloaded.

All kanji from WaniKani are committed to this repo in the kanji folder and can be accessed from https://raw.githubusercontent.com/mermaid/stroke-order-diagram/master/katnji/<5 digit code point>.svg

EX. for , it's code point is U+4E00, so the filename is 04e00.svg, and the url is https://raw.githubusercontent.com/mermaid/stroke-order-diagram/master/katnji/04e00.svg