Skip to main content

Anki practice tool to drill japanese kanji stroke order and practice writing.

Project description

Anki Kunren (暗記 訓練)

Anki Kunren is a program to drill kanji stroke order and practice writing in sync with an Anki study session. This is a work in progress.

Installation

  1. install via pip: pip install anki-kunren
  2. 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]

optional arguments:

  • -h, --help Show help message
  • -s S Start point size in px. defaults to 5px
  • -d D Stroke forgiveness in average px from actual. defaults to 25px
  • --field FIELD name of anki card field containing kanji. defaults to "Expression"

While running, you can use the following controls:

  • h: hint the current stroke
  • n: next kanji in the expression
  • esc: quit

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

  • scale up svgs
  • catch all indexoutofbounds
  • smoother kanji lines
  • different coloring for different parts of stroke based on how wrong it is.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anki-kunren-1.1.0.tar.gz (4.6 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page