Hanzi Writer

by Nikita Smirnov
5
4
3
2
1
Score: 44/100

Description

The Hanzi Writer plugin enhances Obsidian by adding interactive Chinese character writing blocks. It provides real-time stroke animations, writing quizzes with stroke order validation, and customizable display options to facilitate learning. Users can embed character practice blocks within notes using a simple code block configuration. The plugin supports adjustable stroke speed, delay between strokes, outline visibility, and color customization.

Reviews

No reviews yet.

Stats

2
stars
401
downloads
1
forks
444
days
184
days
488
days
2
total PRs
1
open PRs
0
closed PRs
1
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

a year ago

Changelog

MVP

README file from

Github

Hanzi Writer for Obsidian

An Obsidian plugin that adds interactive Chinese character writing blocks using Hanzi Writer. This plugin allows you to create interactive blocks for practicing Chinese character writing directly in your Obsidian notes.

Features

  • Interactive Chinese character writing practice
  • Character stroke animation
  • Writing quizzes with stroke order checking
  • Customizable character display options

Installation

  1. Open Obsidian Settings
  2. Go to Community Plugins and disable Safe Mode
  3. Click Browse and search for "Hanzi Writer"
  4. Install the plugin and enable it

Usage

Create a code block with the language hanzi-writer and provide a JSON configuration:

```hanzi-writer
{
    "character": "你",
    "width": 100,
    "height": 100,
    "showOutline": true,
    "strokeAnimationSpeed": 1,
    "delayBetweenStrokes": 1000
}
```

Configuration Options

  • character: (Required) The Chinese character to display
  • width: Width of the character box in pixels (default: 100)
  • height: Height of the character box in pixels (default: 100)
  • padding: Padding around the character (default: 5)
  • quizOnStart: Start in quiz mode immediately (default: true)
  • showOutline: Show character outline (default: false)
  • strokeAnimationSpeed: Speed of stroke animations (default: 1)
  • delayBetweenStrokes: Delay between strokes in milliseconds (default: 1000)
  • strokeColor: Color of character strokes (defaults to theme text color)
  • drawingColor: Color of user drawing (defaults to theme text color)

and all other options from Hanzi Writer

Controls

Each character block includes three buttons:

  • Animate: Shows stroke order animation
  • Quiz: Starts writing practice mode
  • Debug: Shows debug information in console

Development

This plugin is built using:

To build from source:

  1. Clone this repository
  2. Install dependencies with npm install
  3. Build with npm run build
  4. Copy main.js and manifest.json to your Obsidian plugins folder

License

MIT License - see LICENSE file for details

Support

If you encounter any issues or have suggestions, please open an issue on GitHub.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Fuzzy Chinese Pinyin
3 years ago by lazyloong
HiWords
7 months ago by Kai
Effortlessly grow your vocabulary as you read, with automatic highlighting and translation of unfamiliar words.
Japanese note taking helper
a year ago by OverFitter
Kindle Vocab
9 months ago by Truong Gia Bao
Generate the markdown version of your Vocabulary Builder in Kindle, and put it in your Obsidian Vault.
Memodack
a year ago by Pavlo Kobyliatskyi
Your second language memory tool
Spaced everything
2 years ago by Zach Mueller
Obsidian plugin to apply spaced repetition to incrementally develop your notes.
Textfresser
a year ago by clockblocker
Obsidian plugin to automatically fill in the gaps of your Deutsch
Version History Diff (Sync, File Recovery & Git)
4 years ago by kometenstaub
Get a diff view of your Obsidian Sync, File Recovery and Git version history
Word Splitting for Simplified Chinese in Edit Mode and Vim Mode
5 years ago by AidenLx
A patch for Obsidian's built-in CodeMirror Editor to support Simplified Chinese word splitting Obsidian内置编辑器的(简体)中文分词支持
Youglish
5 years ago by Noureddine Haouari
Use YouTube to improve your pronunciation. YouGlish plugin gives you fast, unbiased answers about how words is spoken by real people and in context.
Zhongwen Reader
a year ago by natipt
This is a Chinese hover dictionary and vocabulary-building plugin for ObsidianMD.
盘古 PanGu
5 years ago by Natumsol
为 Obsidian 笔记加上「盘古之白」,排版强迫症者的福音。 | A small plugin aims to add space between Chinese Characters and English Alphabet, and it is a boon for typographically compulsive people.