Debian Codegraph @

examples/kate/path.kate

raw
1 kate {
2 defs {
3 timebase 00:01.00
4
5 define curve "c1" {
6 linear 2 points {
7 0.8 1.0
8 0.0 0.2
9 }
10 }
11
12 define curve "c2" {
13 linear 5 points {
14 0.0 1.0
15 0.4 0.6
16 1.0 0.0
17 0.4 0.6
18 0.0 1.0
19 }
20 }
21
22 define curve "whizz_past" { catmull_rom 6 points { -0.1 -0.1 -0.0 -0.0 0.33 0.66 0.66 0.33 1.0 1.0 1.1 1.1 } }
23
24 define motion "test_motion" {
25 semantics text path section
26 curve "c1" for 50%
27 curve "c2" for 50%
28 }
29
30 }
31
32 event {
33 00:00.00 --> 00:8.00
34 "Thing on a spring"
35 motion {
36 semantics text path
37 mapping frame
38 curve "whizz_past"
39 }
40 motion "test_motion"
41 }
42 }
43