AnkiWeb
- Rating
- 110 (π 100 Β· π 10)
- Updated
- 2026-07-31
- Anki versions
- 23.12.1~
- Description language
- en
AnkiWeb addon 1964372878
Automatically adds colored stroke order diagrams to kanji cards as media, working even without the addon on AnkiWeb, with customizable fields and generation options.
Open on AnkiWeb GitHub Forum topic Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.0 | 23.12.1+ | 2026-07-31 |
Loadingβ¦
Bulk-inserts color-coded static SVG stroke order diagrams from a chosen source field into a target field, with KanjiVG data, optional kana, filters, and dark mode support.
Migrates Kanji Koohii stories, keywords, and progress into Anki while generating stroke-order diagrams for RTK study.
Scrapes unique kanji from a note's Expression field into the Expression Kanji field via browser selection and Edit > Scrape Expression Kanji, saving space for stroke-order display.
Synchronises WaniKani kanji and vocabulary up to your passed level into Anki decks, requiring an APIv2 key and adding new notes on reruns.
Generates popup HTML with kanji keywords, readings, meanings, JLPT level, frequency, Koohii stories, example vocabulary, and stroke order for configured deck fields.
Adds kanji readings, meanings, radicals, components, stroke counts and frequency data directly to existing Japanese Anki cards, with expandable breakdowns, themes, and synced mobile review.
.. image:: https://circleci.com/gh/cayennes/kanji-colorize.svg?style=svg :target: https://circleci.com/gh/cayennes/kanji-colorize
.. image:: kanji-colorize-examples.png
kanji_colorize.py is a script for coloring, resizing, and renaming
the stroke order diagrams from the
KanjiVG <http://kanjivg.tagaini.net/>_ project. I wrote it to create
sets that make it possibe to easily add stroke order diagrams to an
anki <http://ankisrs.net/>_ kanji deck, but they can be used for
anything you want some nicely colored stroke order diagrams for.
If you'd prefer not to bother running a python script, there are some sets of stroke order diagrams generated with it available for download.
If you just want some colorted diagrams, you can get them on the
github releases page <https://github.com/cayennes/kanji-colorize/releases>_.
I've packaged up a spectrum set and a contrast set. The spectrum set colors the strokes in rainbow order and is nice because the you can see at a glance how the kanji is put together, but has the disadvantage that stokes next to each other are similar colors, and color is sometimes necessary to tell which number goes with which stroke. The contrast set maximizes the contrast between any set of consecutive strokes. (This uses the golden ratio. Math is nifty.)
There is an addon for Anki2 <https://ankiweb.net/shared/info/1964372878>_
that generates colored diagrams for all of your kanji cards. You can install
it with code 1964372878.
The kanji_colorize.py script makes it possible to generate diagrams to your
own specifications. It may have issues with a python not built with
wide-character support
If there's anything you think would improve these, you can use the
issue tracker <https://github.com/cayennes/kanji-colorize/issues>_ or
email me at cayennes@gmail.com.
If you find any errors in image files generated by the most recent
version of kanji colorizer, check to see whether they have been fixed in
the KanjiVG data by looking at
their online kanji viewer <http://kanjivg.tagaini.net/viewer.html>.
If it is correct there, it means that I didn't notice that there was an
update; let me know and I'll fix it. If the error exists there, let the
KanjiVG project know using
their issue tracker <https://github.com/KanjiVG/kanjivg/issues>.
Have you created an improvement to KanjiColorizer that you think other people would also like to have? If so, please submit a patch or a pull request! I'm not always very prompt but I do get to them eventually.
Please make sure existing tests pass. Even better, add new tests for anything you add. Either doctest or unittest is fine, though ideally the doctests would contain executable examples that fully illustrate the function and the unittest tests would contain further worthwhile checks.
The first time you clone the project, you need to get the submodule with the uncolored diagrams:
.. code:: bash
$ git submodule init
$ git submodule update
Activate the virtual environment and install requirements:
.. code:: bash
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
To run the existing tests:
.. code:: bash
(venv) $ py.test
To create a new release:
.. code :: bash
(venv) $ paver dist_anki_addon
Test by unzipping the zip file in dist into a new directory in ~/.local/share/Anki2/addons21 (or the equivalent for the OS being tested).
The code is available under the Affero GPL version 3 or later and the SVG
images are available under Creative Commons Attribution-Share Alike 3.0.
See file headers and files in licenses/ for more information.