chanind / hanzi-writer

Chinese character stroke order animations and practice quizzes

Home Page:https://hanziwriter.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to show only the next stroke?

DavidGarciaManzana opened this issue · comments

Let's say I have a quiz with a Hanzi that has "showOutline: false." Is it possible to make only the next stroke visible? This way, it can help indicate what to do next without making many mistakes. When you're on your second or third try, it would be a great feeling to have that smoother experience, starting with "showOutline: true" and then moving to write them without "help."

There's not an option to do that currently unfortunately. You can probably simulate this by drawing the SVG for the next stroke yourself below the SVG for the HanziWriter instance, but it would require some manual messing around with the Raw Character SVG helpers from the library.