Giter Club home page Giter Club logo

kanji2gif's Introduction

Kanji2GIF

Generates GIF files with Japanese kanji stroke order animations. In addition to kanji, it supports hiragana, katakana, number, and alphabet animations. It was intended to be used with something like Anki.

Make some flash cards showing a kanji word as the "question" and the GIF animation as the "answer". When you then work through the flash cards, write out the kanji word shown and then check whether you used the correct stroke order afterwards.

This was written in early 2011 but there was a one-off update in 2022 from 1.0.0.5 to 1.1.0.0 to replace the ancient convert.exe from the ImageMagick project with direct calls to the Magick.NET library and to update the ancient build of the SharpVectors library from the long-gone CodePlex with a more recent version from GitHub. These are both now pulled in via NuGet packages, so you'll need a fairly recent version of Visual Studio to build the project. Ancient Visual Studio 2010 will no longer build this.

There's a ready to use release for Windows you can download and play with. It should run just fine on any version of Windows (x86 or x64) that supports the .NET Framework 4.0.

Usage

There are two modes of operation; command-line and GUI. The command-line mode works as follows:

Usage: Kanji2GIF.exe [Wordlist] [OutDir] </c> </s:N> </w:N>

Wordlist - A UTF-8-encoded plain text file with one word per line.
OutDir   - The directory to place created GIF images into.
/c       - Makes every drawn stroke use a different color.
/s:N     - Wait this many seconds between strokes (default: 0.5).
/w:N     - Wait this many seconds before looping animation (default: 5).

The GUI looks like this:

Screenshot

Output Samples

kanji2gif wordlist.txt c:\out /c /s:0.5 /w:5

Strawberry

Transistor

Harmony

kanji2gif's People

Contributors

shuuryou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kanji2gif's Issues

GIF resolution

Is there a way to change the resolution or are they all stuck at 109x109?

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.