Commit graph

41 commits

Author SHA1 Message Date
Hermet Park
bf3bd908ff examples: updated lottie samples 2025-04-09 12:19:39 +09:00
Hermet Park
d3afebfdec lottie: add custom layer effect with expressions support
effect(name) / effect(index)

effects finds the effect by its name in the Effect Controls panel.
The name can be the default name or a user-defined name.
If multiple effects have the same name,
the effect closest to the top of the Effect Controls panel is used.

example:
- effect("Fast Blur")("Blurriness")

issue: https://github.com/thorvg/thorvg/issues/3115
2025-04-08 15:35:36 +09:00
Jinny You
1928f46e6a examples: Add default font fallback to LottieExpressions demo
Text Doc Expressions sample requires default font to show.
2025-03-28 17:02:11 +09:00
Hermet Park
11f59c03ae lottie/expressions: support wiggle effect
usage: wiggle(freq, amp, octaves=1, amp_mult=.5, t=time)

issue: https://github.com/thorvg/thorvg/issues/1640
2025-03-28 13:41:48 +09:00
Hermet Park
a4f927e3ef examples: updated lottie assets 2025-03-27 22:40:10 +09:00
Hermet Park
02baa6b462 examples: added LottieInteraction sample
The Interaction sample demonstrates
how to handle user input with ThorVG Lottie Expressions.
2025-03-24 12:11:15 +09:00
Hermet Park
6847d951d8 examples: updated Animation sample 2025-03-12 13:10:25 +09:00
Jinny You
010364174e examples/slot: added example for expressions slot overriding 2025-03-10 12:42:12 +09:00
Hermet Park
01a4a4c806 examples: updated lottie samples 2025-02-25 23:00:10 +09:00
Jakub Marcowski
4042c7a6a7 Optimize all .png images using oxipng 2025-02-17 16:06:37 +09:00
Hermet Park
4f0f2e4c08 example: removed interaction sample
LottieTweening is replaced with it.
2025-02-06 19:09:27 +09:00
Hermet Park
be0949339c example: added lottie tweening sample 2025-02-06 19:09:27 +09:00
Jinny You
2a6e3ca40a examples: add slot transform overriding samples 2025-01-07 16:03:37 +09:00
Hermet Park
97058badbf example: ++lottie extension 2024-11-26 01:11:03 +09:00
Hermet Park
57fcada8cc example: updated lottie samples 2024-11-22 11:17:07 +09:00
Hermet Park
8107582c8b example/lottie_extension: added overriden default slot sample 2024-11-18 16:59:17 +09:00
Jinny You
4ec7ce65bc examples/slot: added example for image slot overriding 2024-11-15 18:26:32 +09:00
Hermet Park
1528ae3729 examples: updated lottie extension
Added default slot overriding case
2024-11-09 17:28:56 +09:00
Hermet Park
87761dc7c7 lottie/slot: revise gradient fill support
Revise gradient fill data parsing by adding support
for the color stop count (p) parameter in slot data.

issue: https://github.com/thorvg/thorvg/issues/2795
2024-11-04 11:43:36 +09:00
Hermet Park
4bfa7ce913 example/lottie: added solid fill slot overriding 2024-11-01 12:40:38 +09:00
Mira Grudzinska
f94e419d2d example: include mask extension in personal_character.json 2024-10-18 18:04:31 +09:00
Hermet Park
0da15d2e76 examples/lottie: updated resources 2024-10-08 11:46:53 +09:00
Hermet Park
03dbb7a8e1 examples: updated a lottie sample 2024-09-19 15:30:40 +09:00
Hermet Park
ae6faf56c5 lottie/expressions: ++coverage
Allow direct key[0]/key[1] access for key.value in expression

issue: https://github.com/thorvg/thorvg/issues/2722
2024-09-17 21:13:59 +09:00
Hermet Park
0e06413749 Revert "examples: updated samples"
This reverts commit 1e72e8f3a3.
2024-09-15 15:24:36 +09:00
Hermet Park
1e72e8f3a3 examples: updated samples 2024-09-15 00:19:33 +09:00
Hermet Park
c562d63487 examples: updated lottie resources 2024-09-13 11:03:41 +09:00
Hermet Park
92303e91b4 examples: added Interaction sample
The Interaction sample demonstrates
how to handle user input with ThorVG Animation.
2024-08-07 12:02:22 +09:00
Hermet Park
adbf7d3a2f examples/lottie: updated a resource.
polished up for the animation smoothness.
2024-08-06 16:45:39 +09:00
Hermet Park
c257994d5c lottie/expressions: feature enhancement
added groupIndex() support
added property (ix) value support
2024-07-31 18:26:42 +09:00
Hermet Park
db889e1835 renderer: quick skip rendering if the opacity is zero
This also resolves a corner case bug introduced by
lottie render pooling: f06127ab93
2024-07-21 15:05:07 +09:00
Hermet Park
803dcb3fb9 lottie/expressions: ++coverage enhancement
Allow to access layer index globally.
2024-07-19 23:01:29 +09:00
Hermet Park
65fe1cb465 examples: updated lottie samples 2024-07-19 15:19:36 +09:00
Hermet Park
9e7d8b37ff examples: added more expressions samples 2024-07-18 22:14:05 +09:00
Hermet Park
16cb1020ac lottie/expressions: added a missing polystar property build. 2024-07-18 20:46:06 +09:00
Hermet Park
b915455e89 examples: added LottieExpressions 2024-07-12 18:57:10 +09:00
Hermet Park
ad2b6f6d51 examples: updated lottie samples 2024-07-12 00:39:31 +09:00
Hermet Park
b001b46c49 examples/lottie: updated resources 2024-05-09 14:58:52 +09:00
Hermet Park
4dba662aaf examples/lottie: added expressions sample 2024-04-30 15:26:37 +09:00
Lucas Niu
b7ced09fef examples/lottie: Add example for the Marker
Co-authored-by: Jinny You <jinny@lottiefiles.com>
2024-04-14 23:54:26 +09:00
Hermet Park
e8e9ba5ea0 infra: move the examples folder outside of the source directory.
examples are not considered a feature of ThorVG;
hence, they are excluded from the src directory.

This change allows developers to concentrate more effectively
on the core ThorVG sources for practical usages.
2024-04-01 10:52:22 +09:00