Skip to content

Instantly share code, notes, and snippets.

@RishabhTayal
Created September 1, 2017 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RishabhTayal/a7668f67b75003fe12b852d7319f19e1 to your computer and use it in GitHub Desktop.
Save RishabhTayal/a7668f67b75003fe12b852d7319f19e1 to your computer and use it in GitHub Desktop.
Lottie animation json for simple text animation
{
"v":"4.10.1",
"fr":29.9700012207031,
"ip":0,
"op":45.0000018328876,
"w":375,
"h":668,
"nm":"text_test",
"ddd":0,
"assets":[
],
"fonts":{
"list":[
{
"origin":0,
"fPath":"",
"fClass":"",
"fFamily":"Roboto",
"fWeight":"",
"fStyle":"Bold",
"fName":"Roboto-Bold",
"ascent":75
}
]
},
"layers":[
{
"ddd":0,
"ind":1,
"ty":5,
"nm":"recipient name",
"parent":2,
"sr":1,
"ks":{
"o":{
"a":1,
"k":[
{
"i":{
"x":[
0.833
],
"y":[
0.833
]
},
"o":{
"x":[
0.167
],
"y":[
0.167
]
},
"n":[
"0p833_0p833_0p167_0p167"
],
"t":20,
"s":[
100
],
"e":[
0
]
},
{
"t":22.0000008960784
}
],
"ix":11
},
"r":{
"a":0,
"k":0,
"ix":10
},
"p":{
"a":0,
"k":[
2.18,
-48.656,
0
],
"ix":2
},
"a":{
"a":0,
"k":[
-49.945,
-16.439,
0
],
"ix":1
},
"s":{
"a":0,
"k":[
100,
100,
100
],
"ix":6
}
},
"ao":0,
"t":{
"d":{
"k":[
{
"s":{
"sz":[
292,
56
],
"ps":[
-146,
-28
],
"s":24,
"f":"Roboto-Bold",
"t":"This is text layer",
"j":0,
"tr":0,
"lh":28.8,
"ls":0,
"fc":[
0.25,
0.25,
0.25
]
},
"t":0
}
]
},
"p":{
},
"m":{
"g":1,
"a":{
"a":0,
"k":[
0,
0
],
"ix":2
}
},
"a":[
]
},
"ip":0,
"op":45.0000018328876,
"st":0,
"bm":0
},
{
"ddd":0,
"ind":2,
"ty":4,
"nm":"recipient name parent",
"sr":1,
"ks":{
"o":{
"a":1,
"k":[
{
"i":{
"x":[
0.833
],
"y":[
0.833
]
},
"o":{
"x":[
0.167
],
"y":[
0.167
]
},
"n":[
"0p833_0p833_0p167_0p167"
],
"t":20,
"s":[
100
],
"e":[
0
]
},
{
"t":22.0000008960784
}
],
"ix":11
},
"r":{
"a":0,
"k":0,
"ix":10
},
"p":{
"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":[
-142.32,
285.344,
0
],
"e":[
185.68,
285.344,
0
],
"to":[
54.6666679382324,
0,
0
],
"ti":[
-54.6666679382324,
0,
0
]
},
{
"t":10.0000004073083
}
],
"ix":2
},
"a":{
"a":0,
"k":[
2.18,
-48.656,
0
],
"ix":1
},
"s":{
"a":0,
"k":[
100,
100,
100
],
"ix":6
}
},
"ao":0,
"shapes":[
{
"ty":"gr",
"it":[
{
"ty":"rc",
"d":1,
"s":{
"a":0,
"k":[
283.359,
54.688
],
"ix":2
},
"p":{
"a":0,
"k":[
0,
0
],
"ix":3
},
"r":{
"a":0,
"k":0,
"ix":4
},
"nm":"Rectangle Path 1",
"mn":"ADBE Vector Shape - Rect",
"hd":false
},
{
"ty":"st",
"c":{
"a":0,
"k":[
0.615685975318,
0.615685975318,
0.615685975318,
1
],
"ix":3
},
"o":{
"a":0,
"k":100,
"ix":4
},
"w":{
"a":0,
"k":0,
"ix":5
},
"lc":1,
"lj":1,
"ml":4,
"nm":"Stroke 1",
"mn":"ADBE Vector Graphic - Stroke",
"hd":false
},
{
"ty":"fl",
"c":{
"a":0,
"k":[
0.152940996955,
0.501960963829,
0.992156982422,
1
],
"ix":4
},
"o":{
"a":0,
"k":0,
"ix":5
},
"r":1,
"nm":"Fill 1",
"mn":"ADBE Vector Graphic - Fill",
"hd":false
},
{
"ty":"tr",
"p":{
"a":0,
"k":[
2.18,
-48.656
],
"ix":2
},
"a":{
"a":0,
"k":[
0,
0
],
"ix":1
},
"s":{
"a":0,
"k":[
100,
100
],
"ix":3
},
"r":{
"a":0,
"k":0,
"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":"Rectangle 1",
"np":3,
"cix":2,
"ix":1,
"mn":"ADBE Vector Group",
"hd":false
}
],
"ip":0,
"op":45.0000018328876,
"st":0,
"bm":0
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment