All Projects → hathibelagal-dev → Text To Path Maker For Flutter

hathibelagal-dev / Text To Path Maker For Flutter

Licence: apache-2.0
Convert text to paths and animate them with this Flutter package

Programming Languages

dart
5743 projects
dartlang
94 projects

Projects that are alternatives of or similar to Text To Path Maker For Flutter

Anim
Swift animation library for iOS, tvOS and macOS.
Stars: ✭ 520 (+653.62%)
Mutual labels:  animation-library
Parade
Parallax Scroll-Jacking Effects Engine for iOS / tvOS
Stars: ✭ 754 (+992.75%)
Mutual labels:  animation-library
Lottie Qml
QML Item for rendering Lottie Web animations in a QtQuick Canvas
Stars: ✭ 40 (-42.03%)
Mutual labels:  animation-library
Flightanimator
Advanced Natural Motion Animations, Simple Blocks Based Syntax
Stars: ✭ 588 (+752.17%)
Mutual labels:  animation-library
Fast
The adaptive interface system for modern web experiences.
Stars: ✭ 6,532 (+9366.67%)
Mutual labels:  animation-library
Swipemenuviewcontroller
Swipable tab and menu View and ViewController.
Stars: ✭ 926 (+1242.03%)
Mutual labels:  animation-library
React Spring
✌️ A spring physics based React animation library
Stars: ✭ 21,938 (+31694.2%)
Mutual labels:  animation-library
Walt
An animation library for LÖVE.
Stars: ✭ 53 (-23.19%)
Mutual labels:  animation-library
Fpsanimator
FPSAnimator is very easy animation library for Android TextureView and SurfaceView.
Stars: ✭ 743 (+976.81%)
Mutual labels:  animation-library
Flagchatadapter
FlagChatAdapter is easy to implement enchanting recycler view adapter. Just extend your adapter with FlagChatAdapter, impliment some methods and voila! You have got the most beautiful looking chat on your phone. Zero boilerplate code, just put your variables in the right direction.
Stars: ✭ 39 (-43.48%)
Mutual labels:  animation-library
Materialdialog Android
📱Android Library to implement animated, 😍beautiful, 🎨stylish Material Dialog in android apps easily.
Stars: ✭ 602 (+772.46%)
Mutual labels:  animation-library
React Animation Comparison
A tour of React animation libraries with a focus on developer experience
Stars: ✭ 646 (+836.23%)
Mutual labels:  animation-library
Katsudo
Katsudö is an animation library for LÖVE
Stars: ✭ 32 (-53.62%)
Mutual labels:  animation-library
Tkswarmalert
Animated alert library like Swarm app.
Stars: ✭ 576 (+734.78%)
Mutual labels:  animation-library
React Tweenful
Animation engine designed for React
Stars: ✭ 48 (-30.43%)
Mutual labels:  animation-library
Rxanimation
Simple way to animate your views on Android with Rx 🚀
Stars: ✭ 521 (+655.07%)
Mutual labels:  animation-library
Cyltabbarcontroller
[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】
Stars: ✭ 6,605 (+9472.46%)
Mutual labels:  animation-library
Rnal
Animations library for react-native
Stars: ✭ 54 (-21.74%)
Mutual labels:  animation-library
Tap water
【声明:未发布前,勿使用,勿star,预计2020年11月底发布】Flutter tab_bar组件,支持中间带加号按钮的TabBar,支持Lottie动画。iTeaTime(技术清谈)团队出品。Highly customizable tabBar and tabBarController for Flutter
Stars: ✭ 52 (-24.64%)
Mutual labels:  animation-library
Aaviewanimator
AAViewAnimator is a set of animations designed for UIView, UIButton, UIImageView with options in iOS, written in Swift.
Stars: ✭ 33 (-52.17%)
Mutual labels:  animation-library

Text to Path Maker

This is a pure Flutter and Dart package that allows you to convert text--both characters and icons--into paths. It can generate SVG path strings and Flutter Path objects too.

Additionally, this package offers a bunch of methods you can use to animate those paths.

At the core of this package is a .ttf file parser, written in pure Dart. You can, if you want to, use it to read the font tables present in your TrueType font file.

Getting started

You must always start by calling the parseTTFAsset() method available in the PMFontReader class to parse your font asset. Currently, only .ttf files are supported.

Once the font has been parsed, you'll have access to a PMFont object. You can call its generatePathForCharacter() method to convert any character into a Path object. Note that this method expects you to pass the character code of the character.

Next, you'll want to use the PMTransform.moveAndScale() method to position and scale the path. This is usually necessary because, by default, the paths can be quite large.

At this point, you can render the Path object onto any Canvas object. If you want to animate the path, however, you must call the PMPieces.breakIntoPieces() method. This method splits the path into tiny paths, depending on the precision you specify. These tiny paths, when rendered sequentially, will create the illusion of the character being drawn.

There's also a utility PMPainter class, which extends the CustomPainter class. You can use this to quickly render your animation using a CustomPaint widget.

Refer to the example code to learn more.

Notes

This package is still a work in progress. It works reasonably well with most fonts, but there's no guarantee that it will handle every single font you have. It has been tested with Roboto, FontAwesome, and Material Icons. If you find a bug, you can raise file it on this project's GitHub repository.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].