GithubHelp home page GithubHelp logo

brianbv / kanjivg-2-animation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zacharyread/kanjivg-2-animation

0.0 1.0 0.0 369 KB

Python script that converts kanjiVG SVG files to animated SVGs, developed for JLect

Python 100.00%

kanjivg-2-animation's Introduction

KanjiVG to Animation

By Zachary Read
https://www.jlect.com

Description

This Python 3 script will convert kanjiVG's SVG files into animations that reveal the stroke order of different kanji. All animations are done in accordance to the SVG animation standard, which is not supported by Internet Explorer. JavaScript is used only to provide the pause, play and reset features.

License

Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)

http://creativecommons.org/licenses/by-sa/3.0/

Prerequisites

Usage

If needed, edit the /kanji/ directory in the Python file with whatever folder contains the kanjiVG files, then update the /converted/ directory to indicate where the converted files should be placed.

Please note that svg.path is very resource-intensive and very slow, so this script could take an extremely long time to parse the thousand svg files.

Similar projects

kanjivg-2-animation's People

Contributors

zacharyread avatar

Watchers

Brian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.