Skip to content
Ruby script to convert SVG data from the KanjiVG project
Ruby
Latest commit 8729436 Mar 16, 2016 @Kimtaro Merge pull request #2 from eldruin/include_all
Generate also for SVGs not including kvg:element
Failed to load latest commit information.
.gitignore
Changelog.md Add changelog Mar 27, 2011
Readme.md Update to the latest KanjiVG file format Jan 18, 2013
kanjivg2svg.rb Merge pull request #2 from eldruin/include_all Mar 16, 2016
svgs.tar.gz SVGs generated from KanjiVG 2014/08/16 release Sep 8, 2014

Readme.md

kanjivg2svg

This Ruby 1.9 script takes stroke order data from the KanjiVG project and outputs SVG files with special formatting.

Usage

$ ruby kanjivg2svg.rb path/to/kanji [frames|animated|numbers]

You can change the output type by setting the second argument. If not set it will default to 'frames'. The animated and numbers are less perfected compared to the frames output.

In this repo I've included svg files generated with the 'frames' option.

License

By Kim Ahlström kim.ahlstrom@gmail.com

Creative Commons Attribution-Share Alike 3.0

KanjiVG

KanjiVG is copyright (c) 2009/2010 Ulrich Apel and released under the Creative Commons Attribution-Share Alike 3.0

Something went wrong with that request. Please try again.