Debian Codegraph @

data/animation_presets.conf

raw symbols SCIP
1 disappear = {
2 opacity = {
3 duration = "placeholder0";
4 start = "window-raw-opacity-before";
5 end = "window-raw-opacity";
6 };
7 blur-opacity = "opacity";
8 shadow-opacity = "opacity";
9 offset-x = "(1 - scale-x) / 2 * window-width";
10 offset-y = "(1 - scale-y) / 2 * window-height";
11 scale-x = {
12 curve = "cubic-bezier(0.21, 0.02, 0.76, 0.36)";
13 duration = "placeholder0";
14 start = 1;
15 end = "placeholder1";
16 };
17 scale-y = "scale-x";
18 shadow-scale-x = "scale-x";
19 shadow-scale-y = "scale-y";
20 shadow-offset-x = "offset-x";
21 shadow-offset-y = "offset-y";
22
23 # See comments in tools/animgen.c for syntax
24 *knobs = {
25 scale = 0.95;
26 duration = 0.2;
27 };
28 *placeholders = ((0, "duration"),(1, "scale"));
29 };
30
31 appear = {
32 opacity = {
33 duration = "placeholder0";
34 start = "window-raw-opacity-before";
35 end = "window-raw-opacity";
36 };
37 blur-opacity = "opacity";
38 shadow-opacity = "opacity";
39 offset-x = "(1 - scale-x) / 2 * window-width";
40 offset-y = "(1 - scale-y) / 2 * window-height";
41 scale-x = {
42 curve = "cubic-bezier(0.24, 0.64, 0.79, 0.98)";
43 duration = "placeholder0";
44 start = "placeholder1";
45 end = 1;
46 };
47 scale-y = "scale-x";
48 shadow-scale-x = "scale-x";
49 shadow-scale-y = "scale-y";
50 shadow-offset-x = "offset-x";
51 shadow-offset-y = "offset-y";
52 *knobs = {
53 scale = 0.95;
54 duration = 0.2;
55 };
56 *placeholders = ((0, "duration"),(1, "scale"));
57 };
58
59 slide-out = {
60 v-timing = {
61 curve = "cubic-bezier(0.21, 0.02, 0.76, 0.36)";
62 start = 0;
63 duration = "placeholder0";
64 end = "window-width * placeholder1 + window-height * placeholder2";
65 };
66 offset-x = "v-timing * placeholder3";
67 offset-y = "v-timing * (1 - placeholder3)";
68 shadow-offset-x = "offset-x";
69 shadow-offset-y = "offset-y";
70 crop-x = "window-x";
71 crop-y = "window-y";
72 crop-width = "window-width";
73 crop-height = "window-height";
74 opacity = {
75 start = "window-raw-opacity-before";
76 end = "window-raw-opacity-before";
77 duration = "placeholder0";
78 };
79 blur-opacity = "opacity";
80 shadow-opacity = "opacity";
81 *knobs = {
82 duration = 0.2;
83 direction = (2, ["up", "down", "left", "right"]);
84 };
85 *placeholders = (
86 (0, "duration"),
87 (1, "direction", [0, 0, -1, 1]),
88 (2, "direction", [-1, 1, 0, 0]),
89 (3, "direction", [0, 0, 1, 1]),
90 );
91 };
92
93 slide-in = {
94 v-timing = {
95 curve = "cubic-bezier(0.24, 0.64, 0.79, 0.98)";
96 start = "window-width * placeholder1 + window-height * placeholder2";
97 duration = "placeholder0";
98 end = 0;
99 };
100 offset-x = "v-timing * placeholder3";
101 offset-y = "v-timing * (1 - placeholder3)";
102 shadow-offset-x = "offset-x";
103 shadow-offset-y = "offset-y";
104 crop-x = "window-x";
105 crop-y = "window-y";
106 crop-width = "window-width";
107 crop-height = "window-height";
108 *knobs = {
109 duration = 0.2;
110 direction = (2, ["up", "down", "left", "right"]);
111 };
112 *placeholders = (
113 (0, "duration"),
114 (1, "direction", [0, 0, -1, 1]),
115 (2, "direction", [-1, 1, 0, 0]),
116 (3, "direction", [0, 0, 1, 1]),
117 );
118 };
119
120 fly-out = {
121 v-timing = {
122 curve = "cubic-bezier(0.05, 0, 0.69, -0.05)";
123 duration = "placeholder0";
124 start = 0;
125 end = "window-height * placeholder2 + window-y * placeholder5 + window-width * placeholder1 + window-x * placeholder4";
126 };
127 offset-x = "v-timing * placeholder3";
128 offset-y = "v-timing * (1 - placeholder3)";
129 shadow-offset-x = "offset-x";
130 shadow-offset-y = "offset-y";
131 opacity = {
132 start = "window-raw-opacity-before";
133 end = "window-raw-opacity-before";
134 duration = "placeholder0";
135 };
136 shadow-opacity = "opacity";
137 blur-opacity = "opacity";
138 *knobs = {
139 duration = 0.2;
140 direction = (0, ["up", "down", "left", "right"]);
141 };
142 *placeholders = (
143 (0, "duration"),
144 (1, "direction", [0, 0, -1, 1]), # left/right -> +1/-1 for X axis
145 (2, "direction", [-1, 1, 0, 0]), # up/down -> +1/-1 for Y axis
146 (3, "direction", [0, 0, 1, 1]), # X/Y axis switch
147 (4, "direction", [0, 0, -1, 0]), # whether window X is added
148 (5, "direction", [-1, 0, 0, 0]), # whether window Y is added
149 );
150 };
151 fly-in = {
152 v-timing = {
153 curve = "cubic-bezier(0.17, 0.67, 0.68, 1.03)";
154 end = 0;
155 duration = "placeholder0";
156 start = "window-height * placeholder2 + window-y * placeholder5 + window-width * placeholder1 + window-x * placeholder4";
157 };
158 offset-x = "v-timing * placeholder3";
159 offset-y = "v-timing * (1 - placeholder3)";
160 shadow-offset-x = "offset-x";
161 shadow-offset-y = "offset-y";
162 *knobs = {
163 duration = 0.2;
164 direction = (0, ["up", "down", "left", "right"]);
165 };
166 *placeholders = (
167 (0, "duration"),
168 (1, "direction", [0, 0, -1, 1]), # left/right -> +1/-1 for X axis
169 (2, "direction", [-1, 1, 0, 0]), # up/down -> +1/-1 for Y axis
170 (3, "direction", [0, 0, 1, 1]), # X/Y axis switch
171 (4, "direction", [0, 0, -1, 0]), # whether window X is added
172 (5, "direction", [-1, 0, 0, 0]), # whether window Y is added
173 );
174 };
175 geometry-change = {
176 scale-x = {
177 curve = "cubic-bezier(0.07, 0.65, 0, 1)";
178 duration = "placeholder0";
179 start = "window-width-before / window-width";
180 end = 1;
181 };
182 scale-y = {
183 curve = "cubic-bezier(0.07, 0.65, 0, 1)";
184 duration = "placeholder0";
185 start = "window-height-before / window-height";
186 end = 1;
187 };
188 shadow-scale-x = "scale-x";
189 shadow-scale-y = "scale-y";
190 offset-x = {
191 curve = "cubic-bezier(0.07, 0.65, 0, 1)";
192 duration = "placeholder0";
193 start = "window-x-before - window-x";
194 end = 0;
195 };
196 offset-y = {
197 curve = "cubic-bezier(0.07, 0.65, 0, 1)";
198 duration = "placeholder0";
199 start = "window-y-before - window-y";
200 end = 0;
201 };
202 saved-image-blend = {
203 duration = "placeholder0";
204 start = 1;
205 end = 0;
206 };
207 shadow-offset-x = "offset-x";
208 shadow-offset-y = "offset-y";
209 *knobs = {
210 duration = 0.4;
211 };
212 *placeholders = ((0, "duration"));
213 };