summaryrefslogtreecommitdiff
path: root/tests/conform/scripts/test-animator-3.json
blob: 26d779beee7be3370e59881cd5878e5a6e350c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[
  {
    "type" : "ClutterRectangle",
    "id" : "foo",
    "x" : 0,
    "y" : 0,
    "width" : 100,
    "height" : 100
  },
  {
    "type" : "ClutterAnimator",
    "id" : "animator",
    "duration" : 1000,

    "properties" : [
      {
        "object" : "foo",
        "name" : "x",
        "ease-in" : true,
        "interpolation" : "linear",
        "keys" : [
          [ 0.0, "easeInCubic",  100.0 ],
          [ 0.2, "easeOutCubic", 150.0 ],
          [ 0.8, "linear",       200.0 ]
        ]
      },
      {
        "object" : "foo",
        "name" : "y",
        "ease-in" : true,
        "interpolation" : "linear",
        "keys" : [
          [ 0.0, "easeInCubic",  100.0 ],
          [ 0.2, "easeOutCubic", 150.0 ],
          [ 0.8, "linear",       200.0 ]
        ]
      }
    ]
  }
]