@mateuszjs/magic-render 0.0.1-next.4 → 0.0.3

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 (230) hide show
  1. package/README.md +43 -0
  2. package/lib/index.mjs +2 -1
  3. package/lib/index.mjs.map +1 -0
  4. package/lib/types/WebGPU/TimingHelper.d.ts +14 -0
  5. package/lib/types/WebGPU/TimingHelper.d.ts.map +1 -0
  6. package/lib/types/WebGPU/canvasSizeObserver.d.ts.map +1 -0
  7. package/lib/types/WebGPU/device.d.ts +5 -0
  8. package/lib/types/WebGPU/device.d.ts.map +1 -0
  9. package/lib/types/WebGPU/generatePreview.d.ts +2 -0
  10. package/lib/types/WebGPU/generatePreview.d.ts.map +1 -0
  11. package/lib/types/WebGPU/getTexture/createCheckedImageData.d.ts.map +1 -0
  12. package/lib/types/WebGPU/getTexture/generateMimapsArray.d.ts.map +1 -0
  13. package/lib/types/WebGPU/getTexture/index.d.ts +14 -0
  14. package/lib/types/WebGPU/getTexture/index.d.ts.map +1 -0
  15. package/lib/types/WebGPU/m3.d.ts.map +1 -0
  16. package/lib/types/WebGPU/pick.d.ts +18 -0
  17. package/lib/types/WebGPU/pick.d.ts.map +1 -0
  18. package/lib/types/WebGPU/programs/blur/getProgram.d.ts +2 -0
  19. package/lib/types/WebGPU/programs/blur/getProgram.d.ts.map +1 -0
  20. package/lib/types/WebGPU/programs/clearComputeDepth/getProgram.d.ts +2 -0
  21. package/lib/types/WebGPU/programs/clearComputeDepth/getProgram.d.ts.map +1 -0
  22. package/lib/types/WebGPU/programs/clearSdf/getProgram.d.ts +2 -0
  23. package/lib/types/WebGPU/programs/clearSdf/getProgram.d.ts.map +1 -0
  24. package/lib/types/WebGPU/programs/combineSdf/getProgram.d.ts +2 -0
  25. package/lib/types/WebGPU/programs/combineSdf/getProgram.d.ts.map +1 -0
  26. package/lib/types/WebGPU/programs/computeShape/getProgram.d.ts +2 -0
  27. package/lib/types/WebGPU/programs/computeShape/getProgram.d.ts.map +1 -0
  28. package/lib/types/WebGPU/programs/computeShape/workers-deprecated/createWorker.d.ts +4 -0
  29. package/lib/types/WebGPU/programs/computeShape/workers-deprecated/createWorker.d.ts.map +1 -0
  30. package/lib/types/WebGPU/programs/computeShape/workers-deprecated/worker.d.ts +2 -0
  31. package/lib/types/WebGPU/programs/computeShape/workers-deprecated/worker.d.ts.map +1 -0
  32. package/lib/types/WebGPU/programs/drawShape/getProgram.d.ts +2 -0
  33. package/lib/types/WebGPU/programs/drawShape/getProgram.d.ts.map +1 -0
  34. package/lib/types/WebGPU/programs/drawTexture/getProgram.d.ts +2 -0
  35. package/lib/types/WebGPU/programs/drawTexture/getProgram.d.ts.map +1 -0
  36. package/lib/types/WebGPU/programs/drawTriangle/getProgram.d.ts +2 -0
  37. package/lib/types/WebGPU/programs/drawTriangle/getProgram.d.ts.map +1 -0
  38. package/lib/types/WebGPU/programs/initPrograms.d.ts +32 -0
  39. package/lib/types/WebGPU/programs/initPrograms.d.ts.map +1 -0
  40. package/lib/types/WebGPU/programs/pickShape/getProgram.d.ts +2 -0
  41. package/lib/types/WebGPU/programs/pickShape/getProgram.d.ts.map +1 -0
  42. package/lib/types/WebGPU/programs/pickTexture/getProgram.d.ts +2 -0
  43. package/lib/types/WebGPU/programs/pickTexture/getProgram.d.ts.map +1 -0
  44. package/lib/types/WebGPU/programs/pickTriangle/getProgram.d.ts +2 -0
  45. package/lib/types/WebGPU/programs/pickTriangle/getProgram.d.ts.map +1 -0
  46. package/lib/types/WebGPU/textureCache.d.ts +4 -0
  47. package/lib/types/WebGPU/textureCache.d.ts.map +1 -0
  48. package/lib/types/consts.d.ts +2 -0
  49. package/lib/types/consts.d.ts.map +1 -0
  50. package/lib/types/customPrograms.d.ts +16 -0
  51. package/lib/types/customPrograms.d.ts.map +1 -0
  52. package/lib/types/fonts.d.ts +6 -0
  53. package/lib/types/fonts.d.ts.map +1 -0
  54. package/lib/types/getCanvasMatrix.d.ts +2 -0
  55. package/lib/types/getCanvasMatrix.d.ts.map +1 -0
  56. package/lib/types/{src/getCanvasRenderDescriptor.d.ts → getCanvasRenderDescriptor.d.ts} +1 -0
  57. package/lib/types/getCanvasRenderDescriptor.d.ts.map +1 -0
  58. package/lib/types/{src/getDepthTexture.d.ts → getDepthTexture.d.ts} +1 -0
  59. package/lib/types/getDepthTexture.d.ts.map +1 -0
  60. package/lib/types/getMultisampleTexture.d.ts +2 -0
  61. package/lib/types/getMultisampleTexture.d.ts.map +1 -0
  62. package/lib/types/getRenderDescriptor.d.ts.map +1 -0
  63. package/lib/types/index.d.ts +3 -0
  64. package/lib/types/index.d.ts.map +1 -0
  65. package/lib/types/loadingTexture.d.ts +3 -0
  66. package/lib/types/loadingTexture.d.ts.map +1 -0
  67. package/lib/types/pointer.d.ts +17 -0
  68. package/lib/types/pointer.d.ts.map +1 -0
  69. package/lib/types/run.d.ts +6 -0
  70. package/lib/types/run.d.ts.map +1 -0
  71. package/lib/types/snapshots/convert.d.ts +8 -0
  72. package/lib/types/snapshots/convert.d.ts.map +1 -0
  73. package/lib/types/snapshots/fill.d.ts +4 -0
  74. package/lib/types/snapshots/fill.d.ts.map +1 -0
  75. package/lib/types/snapshots/snapshots.d.ts +6 -0
  76. package/lib/types/snapshots/snapshots.d.ts.map +1 -0
  77. package/lib/types/snapshots/toZigAsset.d.ts +3 -0
  78. package/lib/types/snapshots/toZigAsset.d.ts.map +1 -0
  79. package/lib/types/svgToShapes/addUiElement.d.ts +3 -0
  80. package/lib/types/svgToShapes/addUiElement.d.ts.map +1 -0
  81. package/lib/types/svgToShapes/arcToBezier.d.ts +11 -0
  82. package/lib/types/svgToShapes/arcToBezier.d.ts.map +1 -0
  83. package/lib/types/svgToShapes/boundingBox.d.ts +18 -0
  84. package/lib/types/svgToShapes/boundingBox.d.ts.map +1 -0
  85. package/lib/types/svgToShapes/collectShapesData.d.ts +12 -0
  86. package/lib/types/svgToShapes/collectShapesData.d.ts.map +1 -0
  87. package/lib/types/svgToShapes/const.d.ts +5 -0
  88. package/lib/types/svgToShapes/const.d.ts.map +1 -0
  89. package/lib/types/svgToShapes/definitions.d.ts +44 -0
  90. package/lib/types/svgToShapes/definitions.d.ts.map +1 -0
  91. package/lib/types/svgToShapes/getProps.d.ts +4 -0
  92. package/lib/types/svgToShapes/getProps.d.ts.map +1 -0
  93. package/lib/types/svgToShapes/getShapesAssets.d.ts +5 -0
  94. package/lib/types/svgToShapes/getShapesAssets.d.ts.map +1 -0
  95. package/lib/types/svgToShapes/parseEllipse.d.ts +3 -0
  96. package/lib/types/svgToShapes/parseEllipse.d.ts.map +1 -0
  97. package/lib/types/svgToShapes/parsePathData.d.ts +3 -0
  98. package/lib/types/svgToShapes/parsePathData.d.ts.map +1 -0
  99. package/lib/types/svgToShapes/parseRect.d.ts +3 -0
  100. package/lib/types/svgToShapes/parseRect.d.ts.map +1 -0
  101. package/lib/types/svgToShapes/radialGradient.d.ts +16 -0
  102. package/lib/types/svgToShapes/radialGradient.d.ts.map +1 -0
  103. package/lib/types/svgToShapes/utils.d.ts +10 -0
  104. package/lib/types/svgToShapes/utils.d.ts.map +1 -0
  105. package/lib/types/textures.d.ts +29 -0
  106. package/lib/types/textures.d.ts.map +1 -0
  107. package/lib/types/types.d.ts +181 -0
  108. package/lib/types/types.d.ts.map +1 -0
  109. package/lib/types/typing.d.ts +7 -0
  110. package/lib/types/typing.d.ts.map +1 -0
  111. package/lib/types/utils/assertUnreachable.d.ts +2 -0
  112. package/lib/types/utils/assertUnreachable.d.ts.map +1 -0
  113. package/lib/types/utils/atNormIndex.d.ts.map +1 -0
  114. package/lib/types/utils/captureCanvasStream.d.ts.map +1 -0
  115. package/lib/types/utils/captureCanvasStreamWasm.d.ts.map +1 -0
  116. package/lib/types/utils/clamp.d.ts.map +1 -0
  117. package/lib/types/utils/debounce.d.ts +2 -0
  118. package/lib/types/utils/debounce.d.ts.map +1 -0
  119. package/lib/types/utils/decompressWoff2.d.mts +3 -0
  120. package/lib/types/utils/decompressWoff2.d.mts.map +1 -0
  121. package/lib/types/{src/utils → utils}/distancePointToLine.d.ts +1 -1
  122. package/lib/types/utils/distancePointToLine.d.ts.map +1 -0
  123. package/lib/types/utils/downloadCanvas.d.ts +2 -0
  124. package/lib/types/utils/downloadCanvas.d.ts.map +1 -0
  125. package/lib/types/utils/fitCurve.d.ts.map +1 -0
  126. package/lib/types/utils/getAngle.d.ts +3 -0
  127. package/lib/types/utils/getAngle.d.ts.map +1 -0
  128. package/lib/types/utils/getAngleDiff.d.ts.map +1 -0
  129. package/lib/types/{src/utils → utils}/getBezierPos.d.ts +1 -1
  130. package/lib/types/utils/getBezierPos.d.ts.map +1 -0
  131. package/lib/types/{src/utils → utils}/getBezierTan.d.ts +1 -1
  132. package/lib/types/utils/getBezierTan.d.ts.map +1 -0
  133. package/lib/types/{src/utils → utils}/getCurveLength.d.ts +1 -1
  134. package/lib/types/utils/getCurveLength.d.ts.map +1 -0
  135. package/lib/types/utils/getDefaultPoints.d.ts +3 -0
  136. package/lib/types/utils/getDefaultPoints.d.ts.map +1 -0
  137. package/lib/types/utils/getDistance.d.ts +3 -0
  138. package/lib/types/utils/getDistance.d.ts.map +1 -0
  139. package/lib/types/utils/mat4.d.ts.map +1 -0
  140. package/lib/types/utils/normalizeVec2.d.ts +3 -0
  141. package/lib/types/utils/normalizeVec2.d.ts.map +1 -0
  142. package/lib/types/utils/resizeArray.d.ts.map +1 -0
  143. package/lib/types/utils/setCamera.d.ts +2 -0
  144. package/lib/types/utils/setCamera.d.ts.map +1 -0
  145. package/lib/types/utils/throttle.d.ts +2 -0
  146. package/lib/types/utils/throttle.d.ts.map +1 -0
  147. package/lib/types/utils/vec3.d.ts.map +1 -0
  148. package/lib/types.mjs +2 -0
  149. package/lib/types.mjs.map +1 -0
  150. package/package.json +37 -14
  151. package/lib/types/crate/glue_code.d.ts +0 -2
  152. package/lib/types/crate/glue_code.d.ts.map +0 -1
  153. package/lib/types/crate/pkg/index_bg.d.ts +0 -44
  154. package/lib/types/crate/pkg/index_bg.d.ts.map +0 -1
  155. package/lib/types/src/WebGPU/canvasSizeObserver.d.ts.map +0 -1
  156. package/lib/types/src/WebGPU/getDevice.d.ts +0 -2
  157. package/lib/types/src/WebGPU/getDevice.d.ts.map +0 -1
  158. package/lib/types/src/WebGPU/getTexture/createCheckedImageData.d.ts.map +0 -1
  159. package/lib/types/src/WebGPU/getTexture/generateMimapsArray.d.ts.map +0 -1
  160. package/lib/types/src/WebGPU/getTexture/index.d.ts +0 -17
  161. package/lib/types/src/WebGPU/getTexture/index.d.ts.map +0 -1
  162. package/lib/types/src/WebGPU/m3.d.ts.map +0 -1
  163. package/lib/types/src/WebGPU/programs/blur/getProgram.d.ts +0 -2
  164. package/lib/types/src/WebGPU/programs/blur/getProgram.d.ts.map +0 -1
  165. package/lib/types/src/WebGPU/programs/draw3dModel/getProgram.d.ts +0 -2
  166. package/lib/types/src/WebGPU/programs/draw3dModel/getProgram.d.ts.map +0 -1
  167. package/lib/types/src/WebGPU/programs/draw3dModelLight/getProgram.d.ts +0 -9
  168. package/lib/types/src/WebGPU/programs/draw3dModelLight/getProgram.d.ts.map +0 -1
  169. package/lib/types/src/WebGPU/programs/draw3dModelTexture/getProgram.d.ts +0 -2
  170. package/lib/types/src/WebGPU/programs/draw3dModelTexture/getProgram.d.ts.map +0 -1
  171. package/lib/types/src/WebGPU/programs/drawBezier/getProgram.d.ts +0 -2
  172. package/lib/types/src/WebGPU/programs/drawBezier/getProgram.d.ts.map +0 -1
  173. package/lib/types/src/WebGPU/programs/drawTexture/getProgram.d.ts +0 -2
  174. package/lib/types/src/WebGPU/programs/drawTexture/getProgram.d.ts.map +0 -1
  175. package/lib/types/src/WebGPU/programs/drawTriangle/getProgram.d.ts +0 -2
  176. package/lib/types/src/WebGPU/programs/drawTriangle/getProgram.d.ts.map +0 -1
  177. package/lib/types/src/WebGPU/programs/initPrograms.d.ts +0 -16
  178. package/lib/types/src/WebGPU/programs/initPrograms.d.ts.map +0 -1
  179. package/lib/types/src/__test__/index.test.d.ts +0 -1
  180. package/lib/types/src/__test__/index.test.d.ts.map +0 -1
  181. package/lib/types/src/components/Preview/index.d.ts +0 -1
  182. package/lib/types/src/components/Preview/index.d.ts.map +0 -1
  183. package/lib/types/src/consts.d.ts +0 -16
  184. package/lib/types/src/consts.d.ts.map +0 -1
  185. package/lib/types/src/getCanvasMatrix.d.ts +0 -2
  186. package/lib/types/src/getCanvasMatrix.d.ts.map +0 -1
  187. package/lib/types/src/getCanvasRenderDescriptor.d.ts.map +0 -1
  188. package/lib/types/src/getDepthTexture.d.ts.map +0 -1
  189. package/lib/types/src/getRenderDescriptor.d.ts.map +0 -1
  190. package/lib/types/src/index.d.ts +0 -7
  191. package/lib/types/src/index.d.ts.map +0 -1
  192. package/lib/types/src/models/Video/MiniatureVideo.d.ts +0 -30
  193. package/lib/types/src/models/Video/MiniatureVideo.d.ts.map +0 -1
  194. package/lib/types/src/run.d.ts +0 -5
  195. package/lib/types/src/run.d.ts.map +0 -1
  196. package/lib/types/src/types.d.ts +0 -9
  197. package/lib/types/src/types.d.ts.map +0 -1
  198. package/lib/types/src/utils/atNormIndex.d.ts.map +0 -1
  199. package/lib/types/src/utils/captureCanvasStream.d.ts.map +0 -1
  200. package/lib/types/src/utils/captureCanvasStreamWasm.d.ts.map +0 -1
  201. package/lib/types/src/utils/clamp.d.ts.map +0 -1
  202. package/lib/types/src/utils/distancePointToLine.d.ts.map +0 -1
  203. package/lib/types/src/utils/fitCurve.d.ts.map +0 -1
  204. package/lib/types/src/utils/getAngle.d.ts +0 -3
  205. package/lib/types/src/utils/getAngle.d.ts.map +0 -1
  206. package/lib/types/src/utils/getAngleDiff.d.ts.map +0 -1
  207. package/lib/types/src/utils/getBezierPos.d.ts.map +0 -1
  208. package/lib/types/src/utils/getBezierTan.d.ts.map +0 -1
  209. package/lib/types/src/utils/getCurveLength.d.ts.map +0 -1
  210. package/lib/types/src/utils/getDistance.d.ts +0 -3
  211. package/lib/types/src/utils/getDistance.d.ts.map +0 -1
  212. package/lib/types/src/utils/mat4.d.ts.map +0 -1
  213. package/lib/types/src/utils/normalizeVec2.d.ts +0 -3
  214. package/lib/types/src/utils/normalizeVec2.d.ts.map +0 -1
  215. package/lib/types/src/utils/resizeArray.d.ts.map +0 -1
  216. package/lib/types/src/utils/vec3.d.ts.map +0 -1
  217. /package/lib/types/{src/WebGPU → WebGPU}/canvasSizeObserver.d.ts +0 -0
  218. /package/lib/types/{src/WebGPU → WebGPU}/getTexture/createCheckedImageData.d.ts +0 -0
  219. /package/lib/types/{src/WebGPU → WebGPU}/getTexture/generateMimapsArray.d.ts +0 -0
  220. /package/lib/types/{src/WebGPU → WebGPU}/m3.d.ts +0 -0
  221. /package/lib/types/{src/getRenderDescriptor.d.ts → getRenderDescriptor.d.ts} +0 -0
  222. /package/lib/types/{src/utils → utils}/atNormIndex.d.ts +0 -0
  223. /package/lib/types/{src/utils → utils}/captureCanvasStream.d.ts +0 -0
  224. /package/lib/types/{src/utils → utils}/captureCanvasStreamWasm.d.ts +0 -0
  225. /package/lib/types/{src/utils → utils}/clamp.d.ts +0 -0
  226. /package/lib/types/{src/utils → utils}/fitCurve.d.ts +0 -0
  227. /package/lib/types/{src/utils → utils}/getAngleDiff.d.ts +0 -0
  228. /package/lib/types/{src/utils → utils}/mat4.d.ts +0 -0
  229. /package/lib/types/{src/utils → utils}/resizeArray.d.ts +0 -0
  230. /package/lib/types/{src/utils → utils}/vec3.d.ts +0 -0
@@ -1,44 +0,0 @@
1
- export function __wbg_set_wasm(val: any): void;
2
- export function __wbindgen_is_undefined(arg0: any): boolean;
3
- export function __wbg_stringify_eead5648c09faaf8(...args: any[]): any;
4
- export function __wbindgen_string_new(arg0: any, arg1: any): any;
5
- export function __wbg_new_e69b5f66fda8f13c(): Object;
6
- export function __wbindgen_number_new(arg0: any): any;
7
- export function __wbg_set_20cbc34131e76824(arg0: any, arg1: any, arg2: any): void;
8
- export function __wbg_new_034f913e7636e987(): any[];
9
- export function __wbg_set_425e70f7c64ac962(arg0: any, arg1: any, arg2: any): void;
10
- export function __wbindgen_string_get(arg0: any, arg1: any): void;
11
- export function __wbindgen_throw(arg0: any, arg1: any): void;
12
- export function __wbindgen_init_externref_table(): void;
13
- export class State {
14
- static __wrap(ptr: any): any;
15
- /**
16
- * @param {number} width
17
- * @param {number} height
18
- * @returns {State}
19
- */
20
- static "new"(width: number, height: number): State;
21
- __destroy_into_raw(): number | undefined;
22
- __wbg_ptr: number | undefined;
23
- free(): void;
24
- /**
25
- * @param {any} raw_points
26
- * @param {number} id
27
- */
28
- add_texture(raw_points: any, id: number): void;
29
- /**
30
- * @param {number} index
31
- * @returns {any}
32
- */
33
- get_shader_input(index: number): any;
34
- /**
35
- * @param {number} texture_id
36
- * @param {any} raw_points
37
- */
38
- update_points(texture_id: number, raw_points: any): void;
39
- }
40
- export const __wbg_error_53abcd6a461f73d8: {
41
- (...data: any[]): void;
42
- (message?: any, ...optionalParams: any[]): void;
43
- };
44
- //# sourceMappingURL=index_bg.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index_bg.d.ts","sourceRoot":"","sources":["../../../../crate/pkg/index_bg.js"],"names":[],"mappings":"AACA,+CAEC;AAyKD,4DAGC;AAED,sEAGe;AAEf,iEAGC;AAED,qDAGC;AAED,sDAGC;AAED,kFAEC;AAED,oDAGC;AAED,kFAEC;AAED,kEAOC;AAED,6DAEC;AAID,wDASC;AApHD;IAEI,6BAMC;IAaD;;;;OAIG;IACH,oBAJW,MAAM,UACN,MAAM,GACJ,KAAK,CAKjB;IAnBD,yCAKC;IAHG,8BAAkB;IAKtB,aAGC;IAUD;;;OAGG;IACH,wBAHW,GAAG,MACH,MAAM,QAIhB;IACD;;;OAGG;IACH,wBAHW,MAAM,GACJ,GAAG,CAKf;IACD;;;OAGG;IACH,0BAHW,MAAM,cACN,GAAG,QAIb;CACJ;AAqDD;;;EAA6H"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"canvasSizeObserver.d.ts","sourceRoot":"","sources":["../../../../src/WebGPU/canvasSizeObserver.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,MAAM,EAAE,iBAAiB,EACzB,MAAM,EAAE,SAAS,EACjB,QAAQ,EAAE,YAAY,QAgBvB"}
@@ -1,2 +0,0 @@
1
- export default function getDevice(): Promise<GPUDevice>;
2
- //# sourceMappingURL=getDevice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getDevice.d.ts","sourceRoot":"","sources":["../../../../src/WebGPU/getDevice.ts"],"names":[],"mappings":"AAAA,wBAA8B,SAAS,uBAuBtC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"createCheckedImageData.d.ts","sourceRoot":"","sources":["../../../../../src/WebGPU/getTexture/createCheckedImageData.ts"],"names":[],"mappings":"AAiBA,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,CAwBrF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"generateMimapsArray.d.ts","sourceRoot":"","sources":["../../../../../src/WebGPU/getTexture/generateMimapsArray.ts"],"names":[],"mappings":"AAIA,UAAU,cAAc;IACtB,cAAc,EAAE,oBAAoB,CAAC;IACrC,eAAe,EAAE,CAAC,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,EACnB,cAAc,EAAE,cAAc,QAuH/B"}
@@ -1,17 +0,0 @@
1
- interface Options {
2
- mips?: boolean;
3
- flipY?: boolean;
4
- depthOrArrayLayers?: number;
5
- }
6
- type TextureSource = ImageBitmap | HTMLVideoElement | HTMLCanvasElement | HTMLImageElement | OffscreenCanvas;
7
- export interface TextureSlice {
8
- source: GPUCopyExternalImageSource;
9
- fakeMipmaps: boolean;
10
- }
11
- export declare function createTextureArray(device: GPUDevice, width: number, height: number, slices: number): GPUTexture;
12
- export declare function attachSlice(device: GPUDevice, textue2dArray: GPUTexture, width: number, height: number, source: GPUCopyExternalImageSource, sliceIndex: number, options?: Options): void;
13
- export declare function createTextureFromSource(device: GPUDevice, source: TextureSource, options?: Options): GPUTexture;
14
- export declare function loadImageBitmap(url: string): Promise<ImageBitmap>;
15
- export declare function createTextureFromImage(device: GPUDevice, url: string, options: Options): Promise<GPUTexture>;
16
- export {};
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/WebGPU/getTexture/index.ts"],"names":[],"mappings":"AAGA,UAAU,OAAO;IACf,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,KAAK,aAAa,GAChB,WAAW,GACX,gBAAgB,GAChB,iBAAiB,GACjB,gBAAgB,GAChB,eAAe,CAAC;AAOlB,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,0BAA0B,CAAA;IAClC,WAAW,EAAE,OAAO,CAAA;CACrB;AAgCD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,cAUlG;AAGD,wBAAgB,WAAW,CACzB,MAAM,EAAE,SAAS,EACjB,aAAa,EAAE,UAAU,EACzB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,0BAA0B,EAClC,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,OAAY,QA0BtB;AAGD,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,GAAE,OAAY,cAWtG;AAiBD,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,wBAIhD;AAED,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,uBAG5F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"m3.d.ts","sourceRoot":"","sources":["../../../../src/WebGPU/m3.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,IAAI;gBACI,YAAY;sBAON,MAAM,UAAU,MAAM;;gBAe5B,YAAY,KAAK,YAAY;0BAmCnB,CAAC,MAAM,EAAE,MAAM,CAAC;6BAOb,MAAM;sBAUb,CAAC,MAAM,EAAE,MAAM,CAAC;iBAOrB,YAAY,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC;cAI9C,YAAY,kBAAkB,MAAM;aAIrC,YAAY,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;CAG/C,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -1,2 +0,0 @@
1
- export default function getProgram(device: GPUDevice): (texture: GPUTexture, commandEncoder: GPUCommandEncoder) => GPUTexture;
2
- //# sourceMappingURL=getProgram.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProgram.d.ts","sourceRoot":"","sources":["../../../../../../src/WebGPU/programs/blur/getProgram.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,SAAS,IAehD,SAAS,UAAU,EACnB,gBAAgB,iBAAiB,KAChC,UAAU,CA2Kd"}
@@ -1,2 +0,0 @@
1
- export default function getProgram(device: GPUDevice, presentationFormat: GPUTextureFormat): (pass: GPURenderPassEncoder, matrix: Float32Array, vertexData: Float32Array, indexData: Uint32Array) => void;
2
- //# sourceMappingURL=getProgram.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProgram.d.ts","sourceRoot":"","sources":["../../../../../../src/WebGPU/programs/draw3dModel/getProgram.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,gBAAgB,IAwCtF,MAAM,oBAAoB,EAC1B,QAAQ,YAAY,EACpB,YAAY,YAAY,EACxB,WAAW,WAAW,UAmDzB"}
@@ -1,9 +0,0 @@
1
- interface Uniforms {
2
- worldViewProjection: Float32Array;
3
- normalMatrix: Float32Array;
4
- lightColor: Float32Array;
5
- lightDirection: Float32Array;
6
- }
7
- export default function getProgram(device: GPUDevice, presentationFormat: GPUTextureFormat): (pass: GPURenderPassEncoder, uniform: Uniforms, vertexData: Float32Array, indexData: Uint32Array) => void;
8
- export {};
9
- //# sourceMappingURL=getProgram.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProgram.d.ts","sourceRoot":"","sources":["../../../../../../src/WebGPU/programs/draw3dModelLight/getProgram.ts"],"names":[],"mappings":"AAEA,UAAU,QAAQ;IAChB,mBAAmB,EAAE,YAAY,CAAC;IAClC,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,YAAY,CAAC;IACzB,cAAc,EAAE,YAAY,CAAA;CAC7B;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,gBAAgB,IAyCtF,MAAM,oBAAoB,EAC1B,SAAS,QAAQ,EACjB,YAAY,YAAY,EACxB,WAAW,WAAW,UAqEzB"}
@@ -1,2 +0,0 @@
1
- export default function getProgram(device: GPUDevice, presentationFormat: GPUTextureFormat): (pass: GPURenderPassEncoder, matrix: Float32Array, texture: GPUTexture, vertexData: Float32Array, indexData: Uint32Array) => void;
2
- //# sourceMappingURL=getProgram.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProgram.d.ts","sourceRoot":"","sources":["../../../../../../src/WebGPU/programs/draw3dModelTexture/getProgram.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,gBAAgB,IAoCtF,MAAM,oBAAoB,EAC1B,QAAQ,YAAY,EACpB,SAAS,UAAU,EACnB,YAAY,YAAY,EACxB,WAAW,WAAW,UAwDzB"}
@@ -1,2 +0,0 @@
1
- export default function getProgram(device: GPUDevice, presentationFormat: GPUTextureFormat): (pass: GPURenderPassEncoder, matrix: Float32Array, pointsData: Float32Array, tData: Float32Array, dirData: Float32Array, segmentIndexData: Uint32Array, zoom: number) => void;
2
- //# sourceMappingURL=getProgram.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProgram.d.ts","sourceRoot":"","sources":["../../../../../../src/WebGPU/programs/drawBezier/getProgram.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,gBAAgB,IAiDtF,MAAM,oBAAoB,EAC1B,QAAQ,YAAY,EACpB,YAAY,YAAY,EACxB,OAAO,YAAY,EACnB,SAAS,YAAY,EACrB,kBAAkB,WAAW,EAC7B,MAAM,MAAM,UAoFf"}
@@ -1,2 +0,0 @@
1
- export default function getProgram(device: GPUDevice, presentationFormat: GPUTextureFormat): (pass: GPURenderPassEncoder, worldProjectionMatrix: Float32Array, vertexData: Float32Array<ArrayBufferLike>, texture: GPUTexture) => void;
2
- //# sourceMappingURL=getProgram.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProgram.d.ts","sourceRoot":"","sources":["../../../../../../src/WebGPU/programs/drawTexture/getProgram.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,MAAM,EAAE,SAAS,EACjB,kBAAkB,EAAE,gBAAgB,IAqElC,MAAM,oBAAoB,EAC1B,uBAAuB,YAAY,EACnC,YAAY,YAAY,CAAC,eAAe,CAAC,EACzC,SAAS,UAAU,UAkCtB"}
@@ -1,2 +0,0 @@
1
- export default function getProgram(device: GPUDevice, presentationFormat: GPUTextureFormat): (pass: GPURenderPassEncoder, matrix: Float32Array, x: number) => void;
2
- //# sourceMappingURL=getProgram.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProgram.d.ts","sourceRoot":"","sources":["../../../../../../src/WebGPU/programs/drawTriangle/getProgram.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,gBAAgB,IA8CtF,MAAM,oBAAoB,EAC1B,QAAQ,YAAY,EACpB,GAAG,MAAM,UAkEZ"}
@@ -1,16 +0,0 @@
1
- import getDrawTriangle from "./drawTriangle/getProgram";
2
- import getDrawBezier from "./drawBezier/getProgram";
3
- import getDraw3dModelTexture from "./draw3dModelTexture/getProgram";
4
- import getDraw3dModel from "./draw3dModel/getProgram";
5
- import getDraw3dModelLight from "./draw3dModelLight/getProgram";
6
- import getBlur from "./blur/getProgram";
7
- import getDrawtexture from "./drawTexture/getProgram";
8
- export declare let drawTriangle: ReturnType<typeof getDrawTriangle>;
9
- export declare let drawBezier: ReturnType<typeof getDrawBezier>;
10
- export declare let draw3dModel: ReturnType<typeof getDraw3dModel>;
11
- export declare let draw3dModelTexture: ReturnType<typeof getDraw3dModelTexture>;
12
- export declare let draw3dModelLight: ReturnType<typeof getDraw3dModelLight>;
13
- export declare let drawBlur: ReturnType<typeof getBlur>;
14
- export declare let drawTexture: ReturnType<typeof getDrawtexture>;
15
- export default function initPrograms(device: GPUDevice, presentationFormat: GPUTextureFormat): void;
16
- //# sourceMappingURL=initPrograms.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"initPrograms.d.ts","sourceRoot":"","sources":["../../../../../src/WebGPU/programs/initPrograms.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,2BAA2B,CAAA;AACvD,OAAO,aAAa,MAAM,yBAAyB,CAAA;AACnD,OAAO,qBAAqB,MAAM,iCAAiC,CAAA;AACnE,OAAO,cAAc,MAAM,0BAA0B,CAAA;AACrD,OAAO,mBAAmB,MAAM,+BAA+B,CAAA;AAC/D,OAAO,OAAO,MAAM,mBAAmB,CAAA;AACvC,OAAO,cAAc,MAAM,0BAA0B,CAAA;AAErD,eAAO,IAAI,YAAY,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAC3D,eAAO,IAAI,UAAU,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAA;AACvD,eAAO,IAAI,WAAW,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AACzD,eAAO,IAAI,kBAAkB,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA;AACvE,eAAO,IAAI,gBAAgB,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACnE,eAAO,IAAI,QAAQ,EAAE,UAAU,CAAC,OAAO,OAAO,CAAC,CAAA;AAC/C,eAAO,IAAI,WAAW,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAEzD,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,MAAM,EAAE,SAAS,EACjB,kBAAkB,EAAE,gBAAgB,QASrC"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../../src/__test__/index.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Preview/index.ts"],"names":[],"mappings":""}
@@ -1,16 +0,0 @@
1
- declare global {
2
- interface Window {
3
- DocumentTouch: any;
4
- msMaxTouchPoints: number;
5
- }
6
- interface Navigator {
7
- msMaxTouchPoints: number;
8
- }
9
- }
10
- export declare const isMobile: boolean;
11
- export declare const MINI_SIZE: number;
12
- export declare const MS_PER_PIXEL = 5;
13
- export declare const MS_PER_MINI: number;
14
- export declare const isTouchCapable: any;
15
- export declare const dpr: number;
16
- //# sourceMappingURL=consts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/consts.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,aAAa,EAAE,GAAG,CAAC;QACnB,gBAAgB,EAAE,MAAM,CAAC;KAC1B;IAED,UAAU,SAAS;QACjB,gBAAgB,EAAE,MAAM,CAAC;KAC1B;CACF;AAED,eAAO,MAAM,QAAQ,SAGlB,CAAA;AAEH,eAAO,MAAM,SAAS,QAAsB,CAAA;AAC5C,eAAO,MAAM,YAAY,IAAI,CAAA;AAC7B,eAAO,MAAM,WAAW,QAA2B,CAAA;AAEnD,eAAO,MAAM,cAAc,KAIY,CAAA;AAEvC,eAAO,MAAM,GAAG,QAA0B,CAAA"}
@@ -1,2 +0,0 @@
1
- export default function getCanvasMatrix(canvas: HTMLCanvasElement): Float32Array<ArrayBuffer>;
2
- //# sourceMappingURL=getCanvasMatrix.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCanvasMatrix.d.ts","sourceRoot":"","sources":["../../../src/getCanvasMatrix.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,MAAM,EAAE,iBAAiB,6BAWhE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCanvasRenderDescriptor.d.ts","sourceRoot":"","sources":["../../../src/getCanvasRenderDescriptor.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,2BAwB7F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getDepthTexture.d.ts","sourceRoot":"","sources":["../../../src/getDepthTexture.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,cAcvF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRenderDescriptor.d.ts","sourceRoot":"","sources":["../../../src/getRenderDescriptor.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACzC,OAAO,EAAE,UAAU,EACnB,MAAM,EAAE,SAAS,GAChB,uBAAuB,CAkCzB"}
@@ -1,7 +0,0 @@
1
- import { Point } from "types";
2
- export interface CreatorAPI {
3
- addImage: (img: HTMLImageElement) => void;
4
- updatePoints: (textureId: number, points: Point[]) => void;
5
- }
6
- export default function initCreator(canvas: HTMLCanvasElement): Promise<CreatorAPI>;
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAG7B,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACzC,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,CAAA;CAC3D;AAED,wBAA8B,WAAW,CACvC,MAAM,EAAE,iBAAiB,GACxB,OAAO,CAAC,UAAU,CAAC,CAkDrB"}
@@ -1,30 +0,0 @@
1
- export default class MiniatureVideo {
2
- private getCurrTime;
3
- private device;
4
- private _width?;
5
- private _height?;
6
- private _duration?;
7
- html: HTMLVideoElement;
8
- isReady: boolean;
9
- private requestedFrames;
10
- textureArray: GPUTexture;
11
- private fetchedFramesMs;
12
- isPlaying: boolean;
13
- private texWidth;
14
- private texHeight;
15
- constructor(url: string, cbOnReady: (video: MiniatureVideo) => void, getCurrTime: () => number, onVideoEnd: VoidFunction, device: GPUDevice);
16
- set currTime(time: number);
17
- get currTime(): number;
18
- get duration(): number;
19
- get width(): number;
20
- get height(): number;
21
- private requestVideoFrame;
22
- private getVideoData;
23
- private fetchNextFrame;
24
- private addFrameToQueue;
25
- triggerRequest(): void;
26
- requestFrame(msOffset: number, callback: VoidFunction, cache: boolean): boolean;
27
- play(time: number): void;
28
- pause: () => void;
29
- }
30
- //# sourceMappingURL=MiniatureVideo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MiniatureVideo.d.ts","sourceRoot":"","sources":["../../../../../src/models/Video/MiniatureVideo.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,OAAO,OAAO,cAAc;IAgB/B,OAAO,CAAC,WAAW;IAEnB,OAAO,CAAC,MAAM;IAjBhB,OAAO,CAAC,MAAM,CAAC,CAAQ;IACvB,OAAO,CAAC,OAAO,CAAC,CAAQ;IACxB,OAAO,CAAC,SAAS,CAAC,CAAQ;IACnB,IAAI,EAAE,gBAAgB,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IACvB,OAAO,CAAC,eAAe,CAAgB;IAChC,YAAY,EAAE,UAAU,CAAA;IAC/B,OAAO,CAAC,eAAe,CAAU;IAC1B,SAAS,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,QAAQ,CAAQ;IACxB,OAAO,CAAC,SAAS,CAAQ;gBAGvB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,EAClC,WAAW,EAAE,MAAM,MAAM,EACjC,UAAU,EAAE,YAAY,EAChB,MAAM,EAAE,SAAS;IAoD3B,IAAI,QAAQ,CAAC,IAAI,EAAE,MAAM,EAExB;IAED,IAAI,QAAQ,IAJO,MAAM,CAMxB;IAGD,IAAI,QAAQ,WAQX;IAED,IAAI,KAAK,WAQR;IAED,IAAI,MAAM,WAQT;IAED,OAAO,CAAC,iBAAiB;IAiEzB,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,cAAc;IAgBtB,OAAO,CAAC,eAAe;IAoBhB,cAAc;IAUd,YAAY,CACjB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,OAAO,GACb,OAAO;IAaH,IAAI,CAAC,IAAI,EAAE,MAAM;IAMjB,KAAK,aAGX;CACF"}
@@ -1,5 +0,0 @@
1
- import { State } from "../crate/glue_code";
2
- export declare const transformMatrix: Float32Array<ArrayBuffer>;
3
- export declare const MAP_BACKGROUND_SCALE = 1000;
4
- export default function runCreator(state: State, canvas: HTMLCanvasElement, context: GPUCanvasContext, device: GPUDevice, presentationFormat: GPUTextureFormat, textures: GPUTexture[]): void;
5
- //# sourceMappingURL=run.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/run.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAG1C,eAAO,MAAM,eAAe,2BAAqB,CAAA;AACjD,eAAO,MAAM,oBAAoB,OAAO,CAAA;AAMxC,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,EACjB,kBAAkB,EAAE,gBAAgB,EACpC,QAAQ,EAAE,UAAU,EAAE,QAmCvB"}
@@ -1,9 +0,0 @@
1
- export interface Point {
2
- x: number;
3
- y: number;
4
- }
5
- export type Line = [Point, Point];
6
- export interface HTMLInputEvent extends Event {
7
- target: HTMLInputElement & EventTarget;
8
- }
9
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAElC,MAAM,WAAW,cAAe,SAAQ,KAAK;IAC3C,MAAM,EAAE,gBAAgB,GAAG,WAAW,CAAC;CACxC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"atNormIndex.d.ts","sourceRoot":"","sources":["../../../../src/utils/atNormIndex.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,UAUnE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"captureCanvasStream.d.ts","sourceRoot":"","sources":["../../../../src/utils/captureCanvasStream.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,UAAU,EAAE,iBAAiB,cAW5E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"captureCanvasStreamWasm.d.ts","sourceRoot":"","sources":["../../../../src/utils/captureCanvasStreamWasm.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clamp.d.ts","sourceRoot":"","sources":["../../../../src/utils/clamp.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAEpE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"distancePointToLine.d.ts","sourceRoot":"","sources":["../../../../src/utils/distancePointToLine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAE7B,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,UAKzE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"fitCurve.d.ts","sourceRoot":"","sources":["../../../../src/utils/fitCurve.js"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;;;GAMG;AAEH,yCALW,KAAK,CAAC,KAAK,QAAQ,CAAC,qBAElB,KAAK,CAAC,KAAK,CAAC,KAAK,QAAQ,CAAC,CAAC,CAmBvC"}
@@ -1,3 +0,0 @@
1
- import { Point } from "types";
2
- export default function getAngle(from: Point, to: Point): number;
3
- //# sourceMappingURL=getAngle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAngle.d.ts","sourceRoot":"","sources":["../../../../src/utils/getAngle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAE7B,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,UAEtD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAngleDiff.d.ts","sourceRoot":"","sources":["../../../../src/utils/getAngleDiff.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAMxE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBezierPos.d.ts","sourceRoot":"","sources":["../../../../src/utils/getBezierPos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAE7B,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,EAAE,EAAE,KAAK,EACT,EAAE,EAAE,KAAK,EACT,EAAE,EAAE,KAAK,EACT,EAAE,EAAE,KAAK,EACT,CAAC,EAAE,MAAM,GACR,KAAK,CAkBP"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBezierTan.d.ts","sourceRoot":"","sources":["../../../../src/utils/getBezierTan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAG7B,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,EAAE,EAAE,KAAK,EACT,EAAE,EAAE,KAAK,EACT,EAAE,EAAE,KAAK,EACT,EAAE,EAAE,KAAK,EACT,CAAC,EAAE,MAAM,GACR,KAAK,CAeP"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCurveLength.d.ts","sourceRoot":"","sources":["../../../../src/utils/getCurveLength.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAO7B,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,EAAE,EAAE,KAAK,EACT,EAAE,EAAE,KAAK,EACT,EAAE,EAAE,KAAK,EACT,EAAE,EAAE,KAAK,EACT,SAAS,EAAE,MAAM,GAChB,MAAM,EAAE,CAYV"}
@@ -1,3 +0,0 @@
1
- import { Point } from "types";
2
- export default function getDistance(p1: Point, p2: Point): number;
3
- //# sourceMappingURL=getDistance.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getDistance.d.ts","sourceRoot":"","sources":["../../../../src/utils/getDistance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAE7B,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,UAEvD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"mat4.d.ts","sourceRoot":"","sources":["../../../../src/utils/mat4.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;sBACU,MAAM,UAAU,MAAM,SAAS,MAAM,OAAO,YAAY;uCAKvC,MAAM,UAAU,MAAM,SAAS,MAAM,QAAQ,MAAM;gBA2B1E,MAAM,SAAS,MAAM,UAAU,MAAM,OAAO,MAAM,QAAQ,MAAM,OAAO,MAAM;;gBAgC7E,YAAY,KAAK,YAAY;mBAyD1B,MAAM,EAAE,GAAG,YAAY,UAAU,MAAM,EAAE,MAAM,MAAM,EAAE;eAa3D,YAAY;iBAwFV,YAAY;aAShB,YAAY,GAAG,MAAM,EAAE,UAAU,MAAM,EAAE,MAAM,MAAM,EAAE;gBAapD,MAAM,EAAE,GAAG,YAAY,UAAU,MAAM,EAAE,MAAM,MAAM,EAAE,QAAQ,YAAY;8BAI7D,MAAM,EAAE;8BAQR,MAAM;8BAUN,MAAM;8BAUN,MAAM;0BAUV,MAAM,EAAE;iBAQjB,YAAY,eAAe,MAAM,EAAE,QAAQ,YAAY;eAIzD,YAAY,kBAAkB,MAAM,QAAQ,YAAY;eAIxD,YAAY,kBAAkB,MAAM,QAAQ,YAAY;eAIxD,YAAY,kBAAkB,MAAM,QAAQ,YAAY;aAI1D,YAAY,SAAS,MAAM,EAAE,QAAQ,YAAY;CAG3D,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -1,3 +0,0 @@
1
- import { Point } from "types";
2
- export default function normalizeVec2(vec: Point): Point;
3
- //# sourceMappingURL=normalizeVec2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeVec2.d.ts","sourceRoot":"","sources":["../../../../src/utils/normalizeVec2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAE7B,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,GAAG,EAAE,KAAK,GAAG,KAAK,CAMvD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"resizeArray.d.ts","sourceRoot":"","sources":["../../../../src/utils/resizeArray.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,YASnE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"vec3.d.ts","sourceRoot":"","sources":["../../../../src/utils/vec3.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,IAAI;aACC,MAAM,EAAE,GAAG,YAAY,KAAK,MAAM,EAAE,GAAG,YAAY;gBAYhD,MAAM,EAAE,GAAG,YAAY,KAAK,MAAM,EAAE,GAAG,YAAY;iBAQjD,MAAM,EAAE,GAAG,YAAY;CAetC,CAAA;AAED,eAAe,IAAI,CAAA"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes