Anki Kunren (暗記 訓練)
Anki Kunren is a program to drill japanese kanji stroke order and practice writing in sync with an Anki study session.
Installation
- install via pip:
pip install anki-kunren - install anki-connect with code
2055492159
Usage
Open Anki and begin a review. You can then use kunren as follows:
usage: kunren [-h] [-s S] [-d D] [--field FIELD] [--size SIZE]
optional arguments:
-h, --helpShow help message-s SStart point size in px. defaults to 5px-d DStroke forgiveness in average px from actual. defaults to 25px--field FIELDname of anki card field containing kanji. defaults to "Vocabulary-Kanji"--size SIZELength of a size of the square canvas in pixels. Defaults to 300.
While running, you can use the following controls:
h: hint the current strokea: animate the current stroken: next kanji in the expressionesc: quitc: refresh the current card shown. This is done automatically when all characters have been drawn, but would slow the program to a crawl if checked for every frame.
Notes
- When the size parameter is changed, all tolerances get multiplied by the ratio of
size/109.
Other
This project uses KanjiVG stroke order data. It is licensed by Ulrich Apel under the Creative Commons Attribution Share-Alike 3.0 license.
The KanjiVG ascii filename code is taken from Kanji Colorizer which was also the source of my initial inspiration.
TODO
- catch all indexoutofbounds
- smoother kanji lines
- different coloring for different parts of stroke based on how wrong it is.
Metadata
Release files for anki-kunren 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anki-kunren-1.4.0.tar.gz | 4.6 MB | Details |
Release files / anki-kunren-1.4.0.tar.gz
| Download URL | anki-kunren-1.4.0.tar.gz |
|---|---|
| Size | 4.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5878b21ccf75bc810092c295569e661e6e33dd10311cdfa2e9662789e2ea9193
|
|
BLAKE2b-256 checksum How to use checksums |
9b429b0bf148a15416eaabfab935d2dd61d9a20add048b2e801800207e82bc08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4
|