File: path.kate

package info (click to toggle)
libkate 0.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,680 kB
  • sloc: ansic: 11,059; sh: 4,930; yacc: 2,358; python: 767; javascript: 407; lex: 363; makefile: 263
file content (43 lines) | stat: -rw-r--r-- 746 bytes parent folder | download | duplicates (7)
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
41
42
43
kate {
  defs {
    timebase 00:01.00

    define curve "c1" {
      linear 2 points {
        0.8     1.0
        0.0     0.2
      }
    }

    define curve "c2" {
      linear 5 points {
        0.0     1.0
        0.4     0.6
        1.0     0.0
        0.4     0.6
        0.0     1.0
      }
    }

    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  } }

    define motion "test_motion" {
      semantics text path section
      curve "c1" for 50%
      curve "c2" for 50%
    }

  }

  event {
    00:00.00 --> 00:8.00
    "Thing on a spring"
    motion {
      semantics text path
      mapping frame
      curve "whizz_past"
    }
    motion "test_motion"
  }
}