11c75f8865
* Fix some missing simplifications in Composition expressions. The logic for determining whether an expression could be simplified was sometimes wrong because it ended up hitting an overridden equality operator which compared the already-simplified values. Also fixed the test script to look at last write time when determining which is the latest build of LottieGen.exe to run. We were looking at creation time, but it turns out that when the compiler builds, it doesn't cause the creation time to be updated if the output file previously existed. Our test script could accidentally use a release build when the latest build was actually a debug build, resulting in the test running on an old build. * Replace the IsAtomic bool with a more generalized Precedence concept. Without this, it was getting unwieldy to handle all the cases of precedence. Now we're removing parentheses more aggressively, so the expressions will be more efficient to parse. * Eliminate some unnecessary whitespace in Min and Max expression functions. |
||
---|---|---|
.github | ||
Lottie-Windows | ||
LottieGen | ||
LottieViewer | ||
build | ||
dlls | ||
images | ||
samples | ||
source | ||
tests | ||
.gitattributes | ||
.gitignore | ||
Directory.Build.props | ||
Directory.Build.targets | ||
LICENSE.md | ||
Lottie-Windows.sln | ||
README.md | ||
Toolkit.ruleset | ||
VERSION_HISTORY.md | ||
azure-pipelines.yml | ||
global.json | ||
settings.xamlstyler | ||
stylecop.json | ||
toolkit.public.snk | ||
toolkit.snk | ||
version.json |
README.md
Lottie-Windows
Lottie-Windows is a library for rendering Adobe After Effects animations natively in your application. This project adds Windows to the Lottie family of tools also targeting Android, iOS, and Web.
Lottie simplifies the design-to-code workflow for bringing engaging, interactive vector animations to your Windows applications, with significant improvements in terms of performance, quality, and engineering efficiency over traditional approaches such as gifs, manually coded animations, etc. Lottie-Windows uses the Windows.UI.Composition APIs to provide smooth 60fps animations and resolution-independent vector graphics.
Lottie-Windows consists of 3 related products:
- Lottie-Windows library for parsing and translating Bodymovin JSON files
- LottieGen command-line tool for generating C# or C++ code to be used instead of JSON
- Lottie Viewer application for previewing JSON and also generating code
This repo also contains source code for samples.
Supported SDKs
- May 2019 Update (18362) and later
Getting Started
Build Status
Target | Branch | Status | Recommended NuGet package |
---|---|---|---|
6.1.0 release | master |
Feedback and Requests
Please use GitHub Issues for bug reports and feature requests.
Principles
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
.NET Foundation
This project is supported by the .NET Foundation.