Anki card template to learn Chinese character strokes, featuring character decomposition. Offline support with included data.
Demo https://zecat.github.io/anki-hanzi-quiz/?hanzi=你好 -> replace with your characters
This project is a work in progress
TODO add images
TODO add explanation
Add your own card with Pleco easily
TODO add explanation
- retreive character data
- strokes
- acjk decomposition
- other data (pinyin, definition...)
- compute component object decomposition
- stroke morphing
- character grid
- interaction
- positioning
- recursive auto opening of component without associated character
Be aware that this will overwrite the template of the card and sync anki remotely
copy ./scripts/update_anki_template/.env_example
to ./scripts/update_anki_template/.env
and fill the variable
Ensure anki desktop is closed then run
npm run anki