Hanzi Writer is a JavaScript library for Chinese character stroke order animations and practice quizzes.
The library solves the problem of teaching and visualizing correct Chinese character writing by providing animated demonstrations of stroke sequences and interactive practice modes. It works with both simplified and traditional characters, drawing on stroke order data derived from the Make Me A Hanzi project. The animations show users the proper sequence and direction for writing each character, while the quiz functionality lets learners practice and verify their understanding.
Hanzi Writer suits educational applications, language learning platforms, and any project where teaching Chinese character writing is a core requirement. It is particularly valuable for developers building tools aimed at Chinese language students who need visual guidance on proper stroke order. The library is free and open source, making it accessible for both commercial and personal projects.
The project maintains an active development posture with a clear testing and build infrastructure. Pull requests are welcomed from contributors, and the project provides straightforward setup instructions for local development. The tool separates concerns by maintaining character data in a dedicated repository with its own visualization tools, allowing the core library to remain focused on animation and practice functionality.