-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility of rendering only the first n strokes of a character? #76
Comments
Are you looking for something like in this demo:
https://wenlincdl.com/demos/fanning? Hanzi Writer doesn't have an easy way
to do that currently, but it shouldn't be hard to do using Hanzi Writer
data directly (in this repo: https://github.com/chanind/hanzi-writer-data).
I'll see if I can put together some documentation on how to use this data
to make SVGs like that without going through Hanzi Writer.
|
v0.11.0 added 2 static methods Closing this issue for now. If this isn't what you were looking to do we can reopen this issue again. |
That is perfect !!! |
I love to functionality! Thanks @chanind for the code sample. 😁 Also, after a quick 5 mins online search, I noticed some solid html+svg to pdf js libs. It thus open the way to export pdf in order to print smart writing pad for paper-based studies. I collected some ideas there but it deserves a dedicated project I think. |
@hcoohb 😀Glad it worked out! It was a great feature request! @ALL:
That's a really cool idea! I hadn't thought about generating paper worksheets, but I don't see why it wouldn't be possible to autogenerate worksheets like that using this SVG data. |
Hi,
This library looks great and thanks for writing and sharing it !
I am aiming at generating some practice sheets that display stroke order on the left side.
While looking at the documentation, I could not find a straightforward way to render a fixed image of the character with only one stroke first, then with the first 2 strokes, then the first 3 strokes …
Is that something that could be done easily with this library? And if so, is it also possible to have the last stroke displayed as a different colour ?
Thanks and regards,
Fabien
The text was updated successfully, but these errors were encountered: