@oliversalzburg/js-utils 0.0.27-dev.1 → 0.0.27-dev.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/device/index.d.ts +1 -0
  2. package/device/index.js +2 -0
  3. package/device/index.js.map +1 -0
  4. package/device/shake.d.ts +92 -0
  5. package/device/shake.js +136 -0
  6. package/device/shake.js.map +1 -0
  7. package/dom/core.js +1 -1
  8. package/dom/core.js.map +1 -1
  9. package/error/AbstractError.js.map +1 -0
  10. package/error/InternalError.js.map +1 -0
  11. package/error/InvalidArgumentError.js.map +1 -0
  12. package/error/InvalidOperationError.js.map +1 -0
  13. package/error/NotImplementedError.js.map +1 -0
  14. package/error/PermissionViolationError.js.map +1 -0
  15. package/error/ResourceConflictError.js.map +1 -0
  16. package/error/UnknownError.js.map +1 -0
  17. package/error/index.js.map +1 -0
  18. package/error-serializer.d.ts +2 -1
  19. package/error-serializer.js +3 -3
  20. package/error-serializer.js.map +1 -1
  21. package/error-serializer.test.js +2 -2
  22. package/error-serializer.test.js.map +1 -1
  23. package/event.d.ts +11 -0
  24. package/event.js +11 -0
  25. package/event.js.map +1 -0
  26. package/graphics/canvas-sandbox.d.ts +9 -0
  27. package/graphics/canvas-sandbox.js +44 -9
  28. package/graphics/canvas-sandbox.js.map +1 -1
  29. package/graphics/canvas2d.js +1 -1
  30. package/graphics/canvas2d.js.map +1 -1
  31. package/graphics/canvas3d.js +1 -1
  32. package/graphics/canvas3d.js.map +1 -1
  33. package/graphics/shader.js +1 -1
  34. package/graphics/shader.js.map +1 -1
  35. package/index.d.ts +3 -1
  36. package/index.js +3 -1
  37. package/index.js.map +1 -1
  38. package/log/report.js +1 -1
  39. package/log/report.js.map +1 -1
  40. package/math/easing.d.ts +306 -0
  41. package/math/easing.js +434 -0
  42. package/math/easing.js.map +1 -0
  43. package/math/index.d.ts +1 -0
  44. package/math/index.js +1 -0
  45. package/math/index.js.map +1 -1
  46. package/package.json +3 -3
  47. package/errors/AbstractError.js.map +0 -1
  48. package/errors/InternalError.js.map +0 -1
  49. package/errors/InvalidArgumentError.js.map +0 -1
  50. package/errors/InvalidOperationError.js.map +0 -1
  51. package/errors/NotImplementedError.js.map +0 -1
  52. package/errors/PermissionViolationError.js.map +0 -1
  53. package/errors/ResourceConflictError.js.map +0 -1
  54. package/errors/UnknownError.js.map +0 -1
  55. package/errors/index.js.map +0 -1
  56. /package/{errors → error}/AbstractError.d.ts +0 -0
  57. /package/{errors → error}/AbstractError.js +0 -0
  58. /package/{errors → error}/InternalError.d.ts +0 -0
  59. /package/{errors → error}/InternalError.js +0 -0
  60. /package/{errors → error}/InvalidArgumentError.d.ts +0 -0
  61. /package/{errors → error}/InvalidArgumentError.js +0 -0
  62. /package/{errors → error}/InvalidOperationError.d.ts +0 -0
  63. /package/{errors → error}/InvalidOperationError.js +0 -0
  64. /package/{errors → error}/NotImplementedError.d.ts +0 -0
  65. /package/{errors → error}/NotImplementedError.js +0 -0
  66. /package/{errors → error}/PermissionViolationError.d.ts +0 -0
  67. /package/{errors → error}/PermissionViolationError.js +0 -0
  68. /package/{errors → error}/ResourceConflictError.d.ts +0 -0
  69. /package/{errors → error}/ResourceConflictError.js +0 -0
  70. /package/{errors → error}/UnknownError.d.ts +0 -0
  71. /package/{errors → error}/UnknownError.js +0 -0
  72. /package/{errors → error}/index.d.ts +0 -0
  73. /package/{errors → error}/index.js +0 -0
@@ -1,4 +1,4 @@
1
- import { NotImplementedError } from "../errors/NotImplementedError.js";
1
+ import { NotImplementedError } from "../error/NotImplementedError.js";
2
2
  import { mustExist } from "../nil.js";
3
3
  import { Canvas } from "./canvas.js";
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"canvas3d.js","sourceRoot":"","sources":["../../source/graphics/canvas3d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,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E,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAUrC;;;;GAIG;AACH,MAAM,OAAO,QAAS,SAAQ,MAAM;IAClC;;OAEG;IACH,QAAQ,CAAyB;IACjC;;;OAGG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED;;OAEG;IACM,OAAO,CAAqC;IAErD;;;;OAIG;IACH,YAAY,MAAyB,EAAE,UAAoC,EAAE;QAC3E,KAAK,CAAC,MAAM,CAAC,CAAC;QAEd,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QAEvB,IAAI,CAAC,QAAQ,GAAG,SAAS,CACvB,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE;YAClC,KAAK,EAAE,KAAK;SACb,CAAC,EACF,0DAA0D,CAC3D,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,iBAAiB;QACf,IAAI,CAAC,QAAQ,GAAG,SAAS,CACvB,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE;YAClC,KAAK,EAAE,KAAK;YACZ,cAAc,EAAE,IAAI;SACrB,CAAC,EACF,0DAA0D,CAC3D,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,+BAA+B;IACjC,CAAC;IACD;;OAEG;IACH,MAAM;QACJ,+BAA+B;IACjC,CAAC;IAED;;;OAGG;IACH,SAAS,CAAC,MAAc;QACtB,MAAM,IAAI,mBAAmB,EAAE,CAAC;IAClC,CAAC;IAED;;;;;OAKG;IACH,aAAa,CAAC,WAA0B,EAAE,UAAkB,EAAE,UAAkB;QAC9E,MAAM,IAAI,mBAAmB,EAAE,CAAC;IAClC,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- import { InvalidOperationError } from "../errors/InvalidOperationError.js";
1
+ import { InvalidOperationError } from "../error/InvalidOperationError.js";
2
2
  import { mustExist } from "../nil.js";
3
3
  /**
4
4
  * Provides the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,CAAC;IACnC,CAAC;IACD,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC,CAAC"}
package/index.d.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  export * from "./async.js";
2
2
  export * from "./core.js";
3
3
  export * from "./data/index.js";
4
+ export * from "./device/index.js";
4
5
  export * from "./dom/index.js";
5
6
  export * from "./error-serializer.js";
6
- export * from "./errors/index.js";
7
+ export * from "./error/index.js";
8
+ export * from "./event.js";
7
9
  export * from "./graphics/index.js";
8
10
  export * from "./log/index.js";
9
11
  export * from "./math/index.js";
package/index.js CHANGED
@@ -1,9 +1,11 @@
1
1
  export * from "./async.js";
2
2
  export * from "./core.js";
3
3
  export * from "./data/index.js";
4
+ export * from "./device/index.js";
4
5
  export * from "./dom/index.js";
5
6
  export * from "./error-serializer.js";
6
- export * from "./errors/index.js";
7
+ export * from "./error/index.js";
8
+ export * from "./event.js";
7
9
  export * from "./graphics/index.js";
8
10
  export * from "./log/index.js";
9
11
  export * from "./math/index.js";
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC"}
package/log/report.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { TreeNode } from "../data/tree.js";
2
- import { InvalidOperationError } from "../errors/InvalidOperationError.js";
2
+ import { InvalidOperationError } from "../error/InvalidOperationError.js";
3
3
  import { hashCyrb53, indent } from "../string.js";
4
4
  /**
5
5
  * Ensures an origin stays within reasonable display size.
package/log/report.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"report.js","sourceRoot":"","sources":["../../source/log/report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAoBlD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,MAAc,EAAU,EAAE,CACtD,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AAEtD;;;GAGG;AACH,gDAAgD;AAChD,MAAM,OAAO,MAAO,SAAQ,QAAgB;IAC1C;;OAEG;IACM,MAAM,CAAS;IACxB;;OAEG;IACH,MAAM,GAAG,IAAI,GAAG,EAA8B,CAAC;IAE/C;;;OAGG;IACH,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,EAAE,KA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,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;gBACjD,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;oBAClB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;gBACjF,CAAC;YACH,CAAC;QACH,CAAC;QAED,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;YAC7B,OAAO;QACT,CAAC;QAED,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClC,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,306 @@
1
+ /**
2
+ * Calculates an easing multiplier for: Quad In
3
+ * @param position - The current position between start and end (from `0` to `1`)
4
+ * @returns The easing multiplier for the position.
5
+ * @group Math
6
+ * @group Easing
7
+ * @group Animation
8
+ */
9
+ export declare const easeInQuad: (position: number) => number;
10
+ /**
11
+ * Calculates an easing multiplier for: Quad Out
12
+ * @param position - The current position between start and end (from `0` to `1`)
13
+ * @returns The easing multiplier for the position.
14
+ * @group Math
15
+ * @group Easing
16
+ * @group Animation
17
+ */
18
+ export declare const easeOutQuad: (position: number) => number;
19
+ /**
20
+ * Calculates an easing multiplier for: Quad In+Out
21
+ * @param position - The current position between start and end (from `0` to `1`)
22
+ * @returns The easing multiplier for the position.
23
+ * @group Math
24
+ * @group Easing
25
+ * @group Animation
26
+ */
27
+ export declare const easeInOutQuad: (position: number) => number;
28
+ /**
29
+ * Calculates an easing multiplier for: Cubic In
30
+ * @param position - The current position between start and end (from `0` to `1`)
31
+ * @returns The easing multiplier for the position.
32
+ * @group Math
33
+ * @group Easing
34
+ * @group Animation
35
+ */
36
+ export declare const easeInCubic: (position: number) => number;
37
+ /**
38
+ * Calculates an easing multiplier for: Cubic Out
39
+ * @param position - The current position between start and end (from `0` to `1`)
40
+ * @returns The easing multiplier for the position.
41
+ * @group Math
42
+ * @group Easing
43
+ * @group Animation
44
+ */
45
+ export declare const easeOutCubic: (position: number) => number;
46
+ /**
47
+ * Calculates an easing multiplier for: Cubic In+Out
48
+ * @param position - The current position between start and end (from `0` to `1`)
49
+ * @returns The easing multiplier for the position.
50
+ * @group Math
51
+ * @group Easing
52
+ * @group Animation
53
+ */
54
+ export declare const easeInOutCubic: (position: number) => number;
55
+ /**
56
+ * Calculates an easing multiplier for: Quart In
57
+ * @param position - The current position between start and end (from `0` to `1`)
58
+ * @returns The easing multiplier for the position.
59
+ * @group Math
60
+ * @group Easing
61
+ * @group Animation
62
+ */
63
+ export declare const easeInQuart: (position: number) => number;
64
+ /**
65
+ * Calculates an easing multiplier for: Quad Out
66
+ * @param position - The current position between start and end (from `0` to `1`)
67
+ * @returns The easing multiplier for the position.
68
+ * @group Math
69
+ * @group Easing
70
+ * @group Animation
71
+ */
72
+ export declare const easeOutQuart: (position: number) => number;
73
+ /**
74
+ * Calculates an easing multiplier for: Quart In+Out
75
+ * @param position - The current position between start and end (from `0` to `1`)
76
+ * @returns The easing multiplier for the position.
77
+ * @group Math
78
+ * @group Easing
79
+ * @group Animation
80
+ */
81
+ export declare const easeInOutQuart: (position: number) => number;
82
+ /**
83
+ * Calculates an easing multiplier for: Quint In
84
+ * @param position - The current position between start and end (from `0` to `1`)
85
+ * @returns The easing multiplier for the position.
86
+ * @group Math
87
+ * @group Easing
88
+ * @group Animation
89
+ */
90
+ export declare const easeInQuint: (position: number) => number;
91
+ /**
92
+ * Calculates an easing multiplier for: Quint Out
93
+ * @param position - The current position between start and end (from `0` to `1`)
94
+ * @returns The easing multiplier for the position.
95
+ * @group Math
96
+ * @group Easing
97
+ * @group Animation
98
+ */
99
+ export declare const easeOutQuint: (position: number) => number;
100
+ /**
101
+ * Calculates an easing multiplier for: Quint In+Out
102
+ * @param position - The current position between start and end (from `0` to `1`)
103
+ * @returns The easing multiplier for the position.
104
+ * @group Math
105
+ * @group Easing
106
+ * @group Animation
107
+ */
108
+ export declare const easeInOutQuint: (position: number) => number;
109
+ /**
110
+ * Calculates an easing multiplier for: Sine In
111
+ * @param position - The current position between start and end (from `0` to `1`)
112
+ * @returns The easing multiplier for the position.
113
+ * @group Math
114
+ * @group Easing
115
+ * @group Animation
116
+ */
117
+ export declare const easeInSine: (position: number) => number;
118
+ /**
119
+ * Calculates an easing multiplier for: Sine Out
120
+ * @param position - The current position between start and end (from `0` to `1`)
121
+ * @returns The easing multiplier for the position.
122
+ * @group Math
123
+ * @group Easing
124
+ * @group Animation
125
+ */
126
+ export declare const easeOutSine: (position: number) => number;
127
+ /**
128
+ * Calculates an easing multiplier for: Sine In+Out
129
+ * @param position - The current position between start and end (from `0` to `1`)
130
+ * @returns The easing multiplier for the position.
131
+ * @group Math
132
+ * @group Easing
133
+ * @group Animation
134
+ */
135
+ export declare const easeInOutSine: (position: number) => number;
136
+ /**
137
+ * Calculates an easing multiplier for: Expo In
138
+ * @param position - The current position between start and end (from `0` to `1`)
139
+ * @returns The easing multiplier for the position.
140
+ * @group Math
141
+ * @group Easing
142
+ * @group Animation
143
+ */
144
+ export declare const easeInExpo: (position: number) => number;
145
+ /**
146
+ * Calculates an easing multiplier for: Expo Out
147
+ * @param position - The current position between start and end (from `0` to `1`)
148
+ * @returns The easing multiplier for the position.
149
+ * @group Math
150
+ * @group Easing
151
+ * @group Animation
152
+ */
153
+ export declare const easeOutExpo: (position: number) => number;
154
+ /**
155
+ * Calculates an easing multiplier for: Expo In+Out
156
+ * @param position - The current position between start and end (from `0` to `1`)
157
+ * @returns The easing multiplier for the position.
158
+ * @group Math
159
+ * @group Easing
160
+ * @group Animation
161
+ */
162
+ export declare const easeInOutExpo: (position: number) => number;
163
+ /**
164
+ * Calculates an easing multiplier for: Circ In
165
+ * @param position - The current position between start and end (from `0` to `1`)
166
+ * @returns The easing multiplier for the position.
167
+ * @group Math
168
+ * @group Easing
169
+ * @group Animation
170
+ */
171
+ export declare const easeInCirc: (position: number) => number;
172
+ /**
173
+ * Calculates an easing multiplier for: Circ Out
174
+ * @param position - The current position between start and end (from `0` to `1`)
175
+ * @returns The easing multiplier for the position.
176
+ * @group Math
177
+ * @group Easing
178
+ * @group Animation
179
+ */
180
+ export declare const easeOutCirc: (position: number) => number;
181
+ /**
182
+ * Calculates an easing multiplier for: Circ In+Out
183
+ * @param position - The current position between start and end (from `0` to `1`)
184
+ * @returns The easing multiplier for the position.
185
+ * @group Math
186
+ * @group Easing
187
+ * @group Animation
188
+ */
189
+ export declare const easeInOutCirc: (position: number) => number;
190
+ /**
191
+ * Calculates an easing multiplier for: Bounce Out
192
+ * @param position - The current position between start and end (from `0` to `1`)
193
+ * @returns The easing multiplier for the position.
194
+ * @group Math
195
+ * @group Easing
196
+ * @group Animation
197
+ */
198
+ export declare const easeOutBounce: (position: number) => number;
199
+ /**
200
+ * Calculates an easing multiplier for: Back In
201
+ * @param position - The current position between start and end (from `0` to `1`)
202
+ * @returns The easing multiplier for the position.
203
+ * @group Math
204
+ * @group Easing
205
+ * @group Animation
206
+ */
207
+ export declare const easeInBack: (position: number) => number;
208
+ /**
209
+ * Calculates an easing multiplier for: Back Out
210
+ * @param position - The current position between start and end (from `0` to `1`)
211
+ * @returns The easing multiplier for the position.
212
+ * @group Math
213
+ * @group Easing
214
+ * @group Animation
215
+ */
216
+ export declare const easeOutBack: (position: number) => number;
217
+ /**
218
+ * Calculates an easing multiplier for: Back In+Out
219
+ * @param position - The current position between start and end (from `0` to `1`)
220
+ * @returns The easing multiplier for the position.
221
+ * @group Math
222
+ * @group Easing
223
+ * @group Animation
224
+ */
225
+ export declare const easeInOutBack: (position: number) => number;
226
+ /**
227
+ * Calculates an easing multiplier for: Elastic
228
+ * @param position - The current position between start and end (from `0` to `1`)
229
+ * @returns The easing multiplier for the position.
230
+ * @group Math
231
+ * @group Easing
232
+ * @group Animation
233
+ */
234
+ export declare const easeElastic: (position: number) => number;
235
+ /**
236
+ * Calculates an easing multiplier for: Swing In+Out
237
+ * @param position - The current position between start and end (from `0` to `1`)
238
+ * @returns The easing multiplier for the position.
239
+ * @group Math
240
+ * @group Easing
241
+ * @group Animation
242
+ */
243
+ export declare const swingInOut: (position: number) => number;
244
+ /**
245
+ * Calculates an easing multiplier for: Swing In
246
+ * @param position - The current position between start and end (from `0` to `1`)
247
+ * @returns The easing multiplier for the position.
248
+ * @group Math
249
+ * @group Easing
250
+ * @group Animation
251
+ */
252
+ export declare const easeSwingIn: (position: number) => number;
253
+ /**
254
+ * Calculates an easing multiplier for: Swing Out
255
+ * @param position - The current position between start and end (from `0` to `1`)
256
+ * @returns The easing multiplier for the position.
257
+ * @group Math
258
+ * @group Easing
259
+ * @group Animation
260
+ */
261
+ export declare const easeSwingOut: (position: number) => number;
262
+ /**
263
+ * Calculates an easing multiplier for: Bounce
264
+ * @param position - The current position between start and end (from `0` to `1`)
265
+ * @returns The easing multiplier for the position.
266
+ * @group Math
267
+ * @group Easing
268
+ * @group Animation
269
+ */
270
+ export declare const easeBounce: (position: number) => number;
271
+ /**
272
+ * Calculates an easing multiplier for: Bounce Past
273
+ * @param position - The current position between start and end (from `0` to `1`)
274
+ * @returns The easing multiplier for the position.
275
+ * @group Math
276
+ * @group Easing
277
+ * @group Animation
278
+ */
279
+ export declare const easeBouncePast: (position: number) => number;
280
+ /**
281
+ * Calculates an easing multiplier for: Simple In+Out
282
+ * @param position - The current position between start and end (from `0` to `1`)
283
+ * @returns The easing multiplier for the position.
284
+ * @group Math
285
+ * @group Easing
286
+ * @group Animation
287
+ */
288
+ export declare const easeFromTo: (position: number) => number;
289
+ /**
290
+ * Calculates an easing multiplier for: Simple In
291
+ * @param position - The current position between start and end (from `0` to `1`)
292
+ * @returns The easing multiplier for the position.
293
+ * @group Math
294
+ * @group Easing
295
+ * @group Animation
296
+ */
297
+ export declare const easeFrom: (position: number) => number;
298
+ /**
299
+ * Calculates an easing multiplier for: Simple Out
300
+ * @param position - The current position between start and end (from `0` to `1`)
301
+ * @returns The easing multiplier for the position.
302
+ * @group Math
303
+ * @group Easing
304
+ * @group Animation
305
+ */
306
+ export declare const easeTo: (position: number) => number;