/hanzi-writer

Chinese character stroke order animations and practice quizzes

Primary LanguageJavaScriptMIT LicenseMIT

CircleCI Codecov npm

https://chanind.github.io/hanzi-writer

Hanzi Writer

Hanzi Writer is a free and open-source javascript library for Chinese character stroke order animations and stroke order practice quizzes. Works with both simplified and traditional characters.

Live demo

Getting Started and Documentation

For more info and instructions on getting started check out https://chanind.github.io/hanzi-writer

Data source

The chinese character svg and stroke order data used by Hanzi Writer is derived from the Make me a Hanzi project with some slight tweaks. The data can be found in the Hanzi Writer Data repo. There's a visualizer for this data here.

Contributing

Pull requests are welcome! If you would like to contribute code, you'll need to be able to build the project locally. After cloning the Hanzi Writer repo, you can get it set up by running:

yarn install

You can run tests with yarn test and you can build the project with yarn build.

License

Hanzi Writer is released under an MIT license.

The Hanzi Writer data comes from the Make Me A Hanzi project, which extracted the data from fonts by Arphic Technology, a Taiwanese font forge that released their work under a permissive license in 1999. You can redistribute and/or modify this data under the terms of the Arphic Public License as published by Arphic Technology Co., Ltd. A copy of this license can be found in ARPHICPL.TXT.