parsimonhi / animCJK

Draw animated Japanese characters (Kanji and Kana), Korean characters (Hanja) and Chinese characters (Hanzi) in correct stroke order using svg, free open-source code.
284 stars 72 forks source link

Any method to draw strokes with python instead of web page? #36

Closed nissansz closed 8 months ago

nissansz commented 12 months ago

Any method to draw strokes with python instead of web page?

parsimonhi commented 10 months ago

Hi,

Character shapes are stored in SVG files (see svgsJa, svgsKo, svgsZhHans ... ). And svg files are text files. So you can read these files with a Python script and view them as you would any SVG file. The method depends of your context (what python modules are you using to display something, and what you want to do with animCJK).