mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
examples: updated lottie resources
This commit is contained in:
parent
fbe6d59c04
commit
c562d63487
17 changed files with 227 additions and 5 deletions
|
@ -26,7 +26,7 @@
|
|||
/* ThorVG Drawing Contents */
|
||||
/************************************************************************/
|
||||
|
||||
#define NUM_PER_ROW 10
|
||||
#define NUM_PER_ROW 11
|
||||
#define NUM_PER_COL 10
|
||||
|
||||
struct UserExample : tvgexam::Example
|
||||
|
@ -122,5 +122,5 @@ struct UserExample : tvgexam::Example
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
return tvgexam::main(new UserExample, argc, argv, 1280, 1280, 4, true);
|
||||
return tvgexam::main(new UserExample, argc, argv, 1408, 1280, 4, true);
|
||||
}
|
1
examples/resources/lottie/Animation.-.1718860337023.json
Normal file
1
examples/resources/lottie/Animation.-.1718860337023.json
Normal file
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/button.json
Normal file
1
examples/resources/lottie/button.json
Normal file
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/crowds.json
Normal file
1
examples/resources/lottie/crowds.json
Normal file
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/gardient_rot.json
Normal file
1
examples/resources/lottie/gardient_rot.json
Normal file
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/gradient_ball.json
Normal file
1
examples/resources/lottie/gradient_ball.json
Normal file
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/gradient_wave.json
Normal file
1
examples/resources/lottie/gradient_wave.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"v":"5.1.11","fr":30,"ip":0,"op":1800,"w":1200,"h":1200,"nm":"inp_bg_02_green","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"purple_hill","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":15.66,"ix":10},"p":{"a":0,"k":[2.4,105.6,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[163.5984,163.5984,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sr","sy":2,"d":1,"pt":{"a":0,"k":5,"ix":3},"p":{"a":0,"k":[0,0],"ix":4},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[360]},{"t":1800}],"ix":5},"or":{"a":0,"k":383.697,"ix":7},"os":{"a":0,"k":30,"ix":9},"ix":1,"nm":"Polystar Path 1","mn":"ADBE Vector Shape - Star","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":371,"ix":10},"g":{"p":3,"k":{"a":0,"k":[0.001,0.08235294117647059,0.9019607843137255,0.803921568627451,0.5,0.10980392156862745,0.792156862745098,0.8470588235294118,1,0.1843137254901961,0.592156862745098,0.7568627450980392],"ix":8}},"s":{"a":0,"k":[-229.68,34.334],"ix":4},"e":{"a":0,"k":[-169.186,589.962],"ix":5},"t":1,"lc":1,"lj":1,"ml":4,"nm":"purple_stroke","mn":"ADBE Vector Graphic - G-Stroke","hd":false},{"ty":"rp","c":{"a":0,"k":30,"ix":1},"o":{"a":0,"k":0,"ix":2},"m":1,"ix":3,"tr":{"ty":"tr","p":{"a":0,"k":[-14,16],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":5,"ix":4},"so":{"a":0,"k":100,"ix":5},"eo":{"a":0,"k":100,"ix":6},"nm":"Transform"},"nm":"Repeater 1","mn":"ADBE Vector Filter - Repeater","hd":false},{"ty":"tr","p":{"a":0,"k":[1542.555,-1153.461],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[227.912,227.912],"ix":3},"r":{"a":0,"k":2.376,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"purple","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1800,"st":0,"bm":0}],"markers":[]}
|
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/intelia_logo_animation.json
Normal file
1
examples/resources/lottie/intelia_logo_animation.json
Normal file
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/lf20_l3qxn9jy.json
Normal file
1
examples/resources/lottie/lf20_l3qxn9jy.json
Normal file
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/monkey.json
Normal file
1
examples/resources/lottie/monkey.json
Normal file
File diff suppressed because one or more lines are too long
213
examples/resources/lottie/offsetStarNoRound.json
Normal file
213
examples/resources/lottie/offsetStarNoRound.json
Normal file
|
@ -0,0 +1,213 @@
|
|||
{
|
||||
"v": "5.7.1",
|
||||
"ip": 0,
|
||||
"op": 180,
|
||||
"nm": "Animation",
|
||||
"mn": "{8f1618e3-6f83-4531-8f65-07dd4b68ee2e}",
|
||||
"fr": 30,
|
||||
"w": 512,
|
||||
"h": 512,
|
||||
"layers": [
|
||||
{
|
||||
"ty": 4,
|
||||
"ddd": 0,
|
||||
"nm": "Layer",
|
||||
"mn": "{85f37d8b-1792-4a4f-82d2-1b3b6d829c07}",
|
||||
"ip": 0,
|
||||
"op": 180,
|
||||
"ind": 0,
|
||||
"st": 0,
|
||||
"sr": 1,
|
||||
"ks": {
|
||||
"a": {
|
||||
"a": 0,
|
||||
"k": [
|
||||
256,
|
||||
256
|
||||
]
|
||||
},
|
||||
"p": {
|
||||
"a": 0,
|
||||
"k": [
|
||||
256,
|
||||
256
|
||||
]
|
||||
},
|
||||
"s": {
|
||||
"a": 0,
|
||||
"k": [
|
||||
40,
|
||||
40
|
||||
]
|
||||
},
|
||||
"r": {
|
||||
"a": 0,
|
||||
"k": 0
|
||||
},
|
||||
"o": {
|
||||
"a": 0,
|
||||
"k": 100
|
||||
}
|
||||
},
|
||||
"shapes": [
|
||||
{
|
||||
"ty": "gr",
|
||||
"nm": "PolyStar",
|
||||
"mn": "{9199543e-3552-4e51-a802-623f2a4a2ca1}",
|
||||
"it": [
|
||||
{
|
||||
"ty": "sr",
|
||||
"nm": "PolyStar",
|
||||
"sy": 1,
|
||||
"p": {
|
||||
"a": 0,
|
||||
"k": [
|
||||
249.3134328358209,
|
||||
254.47164179104476
|
||||
]
|
||||
},
|
||||
"r": {
|
||||
"a": 0,
|
||||
"k": 0
|
||||
},
|
||||
"pt": {
|
||||
"a": 0,
|
||||
"k": 5
|
||||
},
|
||||
"or": {
|
||||
"a": 0,
|
||||
"k": 200
|
||||
},
|
||||
"os": {
|
||||
"a": 0,
|
||||
"k": 0
|
||||
},
|
||||
"ir": {
|
||||
"a": 0,
|
||||
"k": 100
|
||||
},
|
||||
"is": {
|
||||
"a": 0,
|
||||
"k": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ty": "st",
|
||||
"nm": "Stroke",
|
||||
"mn": "{0930ce27-c8f9-4371-b0cf-111a859abfaf}",
|
||||
"o": {
|
||||
"a": 0,
|
||||
"k": 100
|
||||
},
|
||||
"c": {
|
||||
"a": 0,
|
||||
"k": [
|
||||
0.835,
|
||||
0.027,
|
||||
0.808
|
||||
]
|
||||
},
|
||||
"lc": 2,
|
||||
"lj": 2,
|
||||
"ml": 0,
|
||||
"w": {
|
||||
"a": 0,
|
||||
"k": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"ty": "rd",
|
||||
"nm": "R",
|
||||
"r": {
|
||||
"a": 0,
|
||||
"k": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"ty": "op",
|
||||
"nm": "Offset Paths 1",
|
||||
"a": {
|
||||
"a": 1,
|
||||
"k": [
|
||||
{
|
||||
"i": {
|
||||
"x": [
|
||||
1.0
|
||||
],
|
||||
"y": [
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"o": {
|
||||
"x": [
|
||||
0
|
||||
],
|
||||
"y": [
|
||||
0
|
||||
]
|
||||
},
|
||||
"t": 0,
|
||||
"s": [
|
||||
-60.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"t": 180,
|
||||
"s": [
|
||||
200.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"ix": 1
|
||||
},
|
||||
"lj": 2,
|
||||
"ml": {
|
||||
"a": 0,
|
||||
"k": 0.1,
|
||||
"ix": 3
|
||||
},
|
||||
"ix": 2,
|
||||
"mn": "ADBE Vector Filter - Offset",
|
||||
"hd": false
|
||||
},
|
||||
{
|
||||
"ty": "tr",
|
||||
"a": {
|
||||
"a": 0,
|
||||
"k": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"p": {
|
||||
"a": 0,
|
||||
"k": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"s": {
|
||||
"a": 0,
|
||||
"k": [
|
||||
100,
|
||||
100
|
||||
]
|
||||
},
|
||||
"r": {
|
||||
"a": 0,
|
||||
"k": 0
|
||||
},
|
||||
"o": {
|
||||
"a": 0,
|
||||
"k": 100
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"g": "Glaxnimate 0.4.6-32-gb62899be"
|
||||
}
|
||||
}
|
1
examples/resources/lottie/page_slide.json
Normal file
1
examples/resources/lottie/page_slide.json
Normal file
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/pumpkin.json
Normal file
1
examples/resources/lottie/pumpkin.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
examples/resources/lottie/textblock.json
Normal file
1
examples/resources/lottie/textblock.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue