Kanimaji for Flutter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
h7x4 e03a34905e Update tests 8 months ago
assets Initial commit 8 months ago
lib Update tests 8 months ago
test/svg Update tests 8 months ago
.gitignore Initial commit 8 months ago
.gitmodules Initial commit 8 months ago
.metadata Initial commit 8 months ago
CHANGELOG.md Initial commit 8 months ago
LICENSE Initial commit 8 months ago
README.md Misc changes 8 months ago
analysis_options.yaml Initial commit 8 months ago
pubspec.yaml Several changes 8 months ago

README.md

Kanimaji

Add animated kanji strokes to your app!

Features

This library is a port of [Kanimaji][kanimaji], a library for animating kanji. It provides a way to convert stroke data from [KanjiVG][kanjivg] into kanji animations.

This library ports this ability into flutter, and lets you choose speed, colors, and formats, in the form of a Kanimaji widget and a SVG/GIF generating function.

Getting started

Start by adding the project to your pubspec.yaml.

Usage

TODO: Include short and useful examples for package users. Add longer examples to /example folder.

const like = 'sample';

Additional information

The svg library used is mostly a rewrite of pythons svg.path. This is what kanimaji originally used for animation, and even thought there's a lot of svg path parsers in dart, I found none that was able to calculate the length of the path. If you do find one, please let me know!

Also, do note that most of the comments in the project is brought over from the python projects. I've tried to adjust and remove some of them to make them more useful, but they shouldn't be trusted if there's doubt.