@mateuszjs/magic-render 0.1.0-next.21 → 0.1.0-next.22

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 (225) hide show
  1. package/lib/40dc20eab8f7c9f3.ttf +0 -0
  2. package/lib/index.mjs +2 -1
  3. package/lib/index.mjs.LICENSE.txt +1 -0
  4. package/lib/index.mjs.map +1 -1
  5. package/lib/types/WebGPU/canvasSizeObserver.d.ts.map +1 -0
  6. package/lib/types/WebGPU/generatePreview.d.ts +3 -0
  7. package/lib/types/WebGPU/generatePreview.d.ts.map +1 -0
  8. package/lib/types/WebGPU/getDevice.d.ts +6 -0
  9. package/lib/types/WebGPU/getDevice.d.ts.map +1 -0
  10. package/lib/types/WebGPU/getTexture/createCheckedImageData.d.ts.map +1 -0
  11. package/lib/types/WebGPU/getTexture/generateMimapsArray.d.ts.map +1 -0
  12. package/lib/types/{src/WebGPU → WebGPU}/getTexture/index.d.ts +3 -3
  13. package/lib/types/WebGPU/getTexture/index.d.ts.map +1 -0
  14. package/lib/types/WebGPU/m3.d.ts.map +1 -0
  15. package/lib/types/{src/WebGPU → WebGPU}/pick.d.ts +1 -2
  16. package/lib/types/WebGPU/pick.d.ts.map +1 -0
  17. package/lib/types/WebGPU/programs/blur/getProgram.d.ts +2 -0
  18. package/lib/types/WebGPU/programs/blur/getProgram.d.ts.map +1 -0
  19. package/lib/types/WebGPU/programs/clearComputeDepth/getProgram.d.ts +2 -0
  20. package/lib/types/WebGPU/programs/clearComputeDepth/getProgram.d.ts.map +1 -0
  21. package/lib/types/WebGPU/programs/clearSdf/getProgram.d.ts +2 -0
  22. package/lib/types/WebGPU/programs/clearSdf/getProgram.d.ts.map +1 -0
  23. package/lib/types/WebGPU/programs/combineSdf/getProgram.d.ts +2 -0
  24. package/lib/types/WebGPU/programs/combineSdf/getProgram.d.ts.map +1 -0
  25. package/lib/types/WebGPU/programs/computeShape/getProgram.d.ts +2 -0
  26. package/lib/types/WebGPU/programs/computeShape/getProgram.d.ts.map +1 -0
  27. package/lib/types/WebGPU/programs/drawShape/getProgram.d.ts +2 -0
  28. package/lib/types/WebGPU/programs/drawShape/getProgram.d.ts.map +1 -0
  29. package/lib/types/WebGPU/programs/drawTexture/getProgram.d.ts +2 -0
  30. package/lib/types/WebGPU/programs/drawTexture/getProgram.d.ts.map +1 -0
  31. package/lib/types/WebGPU/programs/drawTriangle/getProgram.d.ts +2 -0
  32. package/lib/types/WebGPU/programs/drawTriangle/getProgram.d.ts.map +1 -0
  33. package/lib/types/WebGPU/programs/initPrograms.d.ts +32 -0
  34. package/lib/types/WebGPU/programs/initPrograms.d.ts.map +1 -0
  35. package/lib/types/WebGPU/programs/pickShape/getProgram.d.ts +2 -0
  36. package/lib/types/WebGPU/programs/pickShape/getProgram.d.ts.map +1 -0
  37. package/lib/types/{src/WebGPU → WebGPU}/programs/pickTexture/getProgram.d.ts +1 -1
  38. package/lib/types/WebGPU/programs/pickTexture/getProgram.d.ts.map +1 -0
  39. package/lib/types/{src/WebGPU → WebGPU}/programs/pickTriangle/getProgram.d.ts +1 -1
  40. package/lib/types/WebGPU/programs/pickTriangle/getProgram.d.ts.map +1 -0
  41. package/lib/types/WebGPU/textureCache.d.ts +3 -0
  42. package/lib/types/WebGPU/textureCache.d.ts.map +1 -0
  43. package/lib/types/consts.d.ts.map +1 -0
  44. package/lib/types/fonts.d.ts +5 -0
  45. package/lib/types/fonts.d.ts.map +1 -0
  46. package/lib/types/getCanvasMatrix.d.ts.map +1 -0
  47. package/lib/types/getCanvasRenderDescriptor.d.ts.map +1 -0
  48. package/lib/types/getDepthTexture.d.ts.map +1 -0
  49. package/lib/types/getMultisampleTexture.d.ts +2 -0
  50. package/lib/types/getMultisampleTexture.d.ts.map +1 -0
  51. package/lib/types/getRenderDescriptor.d.ts.map +1 -0
  52. package/lib/types/index.d.ts +61 -0
  53. package/lib/types/index.d.ts.map +1 -0
  54. package/lib/types/loadingTexture.d.ts +2 -0
  55. package/lib/types/loadingTexture.d.ts.map +1 -0
  56. package/lib/types/pointer.d.ts.map +1 -0
  57. package/lib/types/{src/run.d.ts → run.d.ts} +1 -1
  58. package/lib/types/run.d.ts.map +1 -0
  59. package/lib/types/sanitizeFill.d.ts +2 -0
  60. package/lib/types/sanitizeFill.d.ts.map +1 -0
  61. package/lib/types/svgToShapes/arcToBezier.d.ts +11 -0
  62. package/lib/types/svgToShapes/arcToBezier.d.ts.map +1 -0
  63. package/lib/types/svgToShapes/boundingBox.d.ts +17 -0
  64. package/lib/types/svgToShapes/boundingBox.d.ts.map +1 -0
  65. package/lib/types/svgToShapes/collectShapesData.d.ts +10 -0
  66. package/lib/types/svgToShapes/collectShapesData.d.ts.map +1 -0
  67. package/lib/types/svgToShapes/const.d.ts.map +1 -0
  68. package/lib/types/svgToShapes/createShapes.d.ts +3 -0
  69. package/lib/types/svgToShapes/createShapes.d.ts.map +1 -0
  70. package/lib/types/svgToShapes/definitions.d.ts +43 -0
  71. package/lib/types/svgToShapes/definitions.d.ts.map +1 -0
  72. package/lib/types/svgToShapes/getProps.d.ts +4 -0
  73. package/lib/types/svgToShapes/getProps.d.ts.map +1 -0
  74. package/lib/types/svgToShapes/parseEllipse.d.ts +2 -0
  75. package/lib/types/svgToShapes/parseEllipse.d.ts.map +1 -0
  76. package/lib/types/svgToShapes/parsePathData.d.ts +2 -0
  77. package/lib/types/svgToShapes/parsePathData.d.ts.map +1 -0
  78. package/lib/types/svgToShapes/parseRect.d.ts +2 -0
  79. package/lib/types/svgToShapes/parseRect.d.ts.map +1 -0
  80. package/lib/types/svgToShapes/radialGradient.d.ts +15 -0
  81. package/lib/types/svgToShapes/radialGradient.d.ts.map +1 -0
  82. package/lib/types/svgToShapes/utils.d.ts +9 -0
  83. package/lib/types/svgToShapes/utils.d.ts.map +1 -0
  84. package/lib/types/textures.d.ts +21 -0
  85. package/lib/types/textures.d.ts.map +1 -0
  86. package/lib/types/types.d.ts.map +1 -0
  87. package/lib/types/typing.d.ts +6 -0
  88. package/lib/types/typing.d.ts.map +1 -0
  89. package/lib/types/utils/atNormIndex.d.ts.map +1 -0
  90. package/lib/types/utils/captureCanvasStream.d.ts.map +1 -0
  91. package/lib/types/utils/captureCanvasStreamWasm.d.ts.map +1 -0
  92. package/lib/types/utils/clamp.d.ts.map +1 -0
  93. package/lib/types/utils/debounce.d.ts.map +1 -0
  94. package/lib/types/utils/distancePointToLine.d.ts.map +1 -0
  95. package/lib/types/utils/fitCurve.d.ts.map +1 -0
  96. package/lib/types/utils/getAngle.d.ts.map +1 -0
  97. package/lib/types/utils/getAngleDiff.d.ts.map +1 -0
  98. package/lib/types/utils/getBezierPos.d.ts.map +1 -0
  99. package/lib/types/utils/getBezierTan.d.ts.map +1 -0
  100. package/lib/types/utils/getCurveLength.d.ts.map +1 -0
  101. package/lib/types/utils/getDefaultPoints.d.ts.map +1 -0
  102. package/lib/types/utils/getDistance.d.ts.map +1 -0
  103. package/lib/types/utils/mat4.d.ts.map +1 -0
  104. package/lib/types/utils/normalizeVec2.d.ts.map +1 -0
  105. package/lib/types/utils/resizeArray.d.ts.map +1 -0
  106. package/lib/types/utils/vec3.d.ts.map +1 -0
  107. package/package.json +6 -8
  108. package/lib/e9072ac5eb734c67.png +0 -0
  109. package/lib/types/src/WebGPU/canvasSizeObserver.d.ts.map +0 -1
  110. package/lib/types/src/WebGPU/generatePreview.d.ts +0 -2
  111. package/lib/types/src/WebGPU/generatePreview.d.ts.map +0 -1
  112. package/lib/types/src/WebGPU/getDevice.d.ts +0 -2
  113. package/lib/types/src/WebGPU/getDevice.d.ts.map +0 -1
  114. package/lib/types/src/WebGPU/getTexture/createCheckedImageData.d.ts.map +0 -1
  115. package/lib/types/src/WebGPU/getTexture/generateMimapsArray.d.ts.map +0 -1
  116. package/lib/types/src/WebGPU/getTexture/index.d.ts.map +0 -1
  117. package/lib/types/src/WebGPU/m3.d.ts.map +0 -1
  118. package/lib/types/src/WebGPU/pick.d.ts.map +0 -1
  119. package/lib/types/src/WebGPU/pointer.d.ts.map +0 -1
  120. package/lib/types/src/WebGPU/programs/blur/getProgram.d.ts +0 -2
  121. package/lib/types/src/WebGPU/programs/blur/getProgram.d.ts.map +0 -1
  122. package/lib/types/src/WebGPU/programs/draw/getProgram.d.ts +0 -2
  123. package/lib/types/src/WebGPU/programs/draw/getProgram.d.ts.map +0 -1
  124. package/lib/types/src/WebGPU/programs/draw3dModel/getProgram.d.ts +0 -2
  125. package/lib/types/src/WebGPU/programs/draw3dModel/getProgram.d.ts.map +0 -1
  126. package/lib/types/src/WebGPU/programs/draw3dModelLight/getProgram.d.ts +0 -9
  127. package/lib/types/src/WebGPU/programs/draw3dModelLight/getProgram.d.ts.map +0 -1
  128. package/lib/types/src/WebGPU/programs/draw3dModelTexture/getProgram.d.ts +0 -2
  129. package/lib/types/src/WebGPU/programs/draw3dModelTexture/getProgram.d.ts.map +0 -1
  130. package/lib/types/src/WebGPU/programs/drawBezier/getProgram.d.ts +0 -2
  131. package/lib/types/src/WebGPU/programs/drawBezier/getProgram.d.ts.map +0 -1
  132. package/lib/types/src/WebGPU/programs/drawMSDF/getProgram.d.ts +0 -2
  133. package/lib/types/src/WebGPU/programs/drawMSDF/getProgram.d.ts.map +0 -1
  134. package/lib/types/src/WebGPU/programs/drawShape/getProgram.d.ts +0 -2
  135. package/lib/types/src/WebGPU/programs/drawShape/getProgram.d.ts.map +0 -1
  136. package/lib/types/src/WebGPU/programs/drawTexture/getProgram.d.ts +0 -2
  137. package/lib/types/src/WebGPU/programs/drawTexture/getProgram.d.ts.map +0 -1
  138. package/lib/types/src/WebGPU/programs/drawTriangle/getProgram.d.ts +0 -2
  139. package/lib/types/src/WebGPU/programs/drawTriangle/getProgram.d.ts.map +0 -1
  140. package/lib/types/src/WebGPU/programs/initPrograms.d.ts +0 -26
  141. package/lib/types/src/WebGPU/programs/initPrograms.d.ts.map +0 -1
  142. package/lib/types/src/WebGPU/programs/pickTexture/getProgram.d.ts.map +0 -1
  143. package/lib/types/src/WebGPU/programs/pickTriangle/getProgram.d.ts.map +0 -1
  144. package/lib/types/src/WebGPU/textureCache.d.ts +0 -3
  145. package/lib/types/src/WebGPU/textureCache.d.ts.map +0 -1
  146. package/lib/types/src/__test__/index.test.d.ts +0 -1
  147. package/lib/types/src/__test__/index.test.d.ts.map +0 -1
  148. package/lib/types/src/consts.d.ts.map +0 -1
  149. package/lib/types/src/getCanvasMatrix.d.ts.map +0 -1
  150. package/lib/types/src/getCanvasRenderDescriptor.d.ts.map +0 -1
  151. package/lib/types/src/getDepthTexture.d.ts.map +0 -1
  152. package/lib/types/src/getMultisampleTexture.d.ts +0 -2
  153. package/lib/types/src/getMultisampleTexture.d.ts.map +0 -1
  154. package/lib/types/src/getRenderDescriptor.d.ts.map +0 -1
  155. package/lib/types/src/index.d.ts +0 -25
  156. package/lib/types/src/index.d.ts.map +0 -1
  157. package/lib/types/src/loadingTexture.d.ts +0 -2
  158. package/lib/types/src/loadingTexture.d.ts.map +0 -1
  159. package/lib/types/src/models/Video/MiniatureVideo.d.ts +0 -30
  160. package/lib/types/src/models/Video/MiniatureVideo.d.ts.map +0 -1
  161. package/lib/types/src/run.d.ts.map +0 -1
  162. package/lib/types/src/shapes/const.d.ts.map +0 -1
  163. package/lib/types/src/shapes/createShape.d.ts +0 -3
  164. package/lib/types/src/shapes/createShape.d.ts.map +0 -1
  165. package/lib/types/src/shapes/parseColor.d.ts +0 -2
  166. package/lib/types/src/shapes/parseColor.d.ts.map +0 -1
  167. package/lib/types/src/shapes/parseEllipse.d.ts +0 -3
  168. package/lib/types/src/shapes/parseEllipse.d.ts.map +0 -1
  169. package/lib/types/src/shapes/parsePathData.d.ts +0 -3
  170. package/lib/types/src/shapes/parsePathData.d.ts.map +0 -1
  171. package/lib/types/src/shapes/parseRect.d.ts +0 -3
  172. package/lib/types/src/shapes/parseRect.d.ts.map +0 -1
  173. package/lib/types/src/shapes/types.d.ts +0 -4
  174. package/lib/types/src/shapes/types.d.ts.map +0 -1
  175. package/lib/types/src/textures.d.ts +0 -13
  176. package/lib/types/src/textures.d.ts.map +0 -1
  177. package/lib/types/src/types.d.ts.map +0 -1
  178. package/lib/types/src/utils/atNormIndex.d.ts.map +0 -1
  179. package/lib/types/src/utils/captureCanvasStream.d.ts.map +0 -1
  180. package/lib/types/src/utils/captureCanvasStreamWasm.d.ts.map +0 -1
  181. package/lib/types/src/utils/clamp.d.ts.map +0 -1
  182. package/lib/types/src/utils/debounce.d.ts.map +0 -1
  183. package/lib/types/src/utils/distancePointToLine.d.ts.map +0 -1
  184. package/lib/types/src/utils/fitCurve.d.ts.map +0 -1
  185. package/lib/types/src/utils/getAngle.d.ts.map +0 -1
  186. package/lib/types/src/utils/getAngleDiff.d.ts.map +0 -1
  187. package/lib/types/src/utils/getBezierPos.d.ts.map +0 -1
  188. package/lib/types/src/utils/getBezierTan.d.ts.map +0 -1
  189. package/lib/types/src/utils/getCurveLength.d.ts.map +0 -1
  190. package/lib/types/src/utils/getDefaultPoints.d.ts.map +0 -1
  191. package/lib/types/src/utils/getDistance.d.ts.map +0 -1
  192. package/lib/types/src/utils/mat4.d.ts.map +0 -1
  193. package/lib/types/src/utils/normalizeVec2.d.ts.map +0 -1
  194. package/lib/types/src/utils/resizeArray.d.ts.map +0 -1
  195. package/lib/types/src/utils/vec3.d.ts.map +0 -1
  196. /package/lib/types/{src/WebGPU → WebGPU}/canvasSizeObserver.d.ts +0 -0
  197. /package/lib/types/{src/WebGPU → WebGPU}/getTexture/createCheckedImageData.d.ts +0 -0
  198. /package/lib/types/{src/WebGPU → WebGPU}/getTexture/generateMimapsArray.d.ts +0 -0
  199. /package/lib/types/{src/WebGPU → WebGPU}/m3.d.ts +0 -0
  200. /package/lib/types/{src/consts.d.ts → consts.d.ts} +0 -0
  201. /package/lib/types/{src/getCanvasMatrix.d.ts → getCanvasMatrix.d.ts} +0 -0
  202. /package/lib/types/{src/getCanvasRenderDescriptor.d.ts → getCanvasRenderDescriptor.d.ts} +0 -0
  203. /package/lib/types/{src/getDepthTexture.d.ts → getDepthTexture.d.ts} +0 -0
  204. /package/lib/types/{src/getRenderDescriptor.d.ts → getRenderDescriptor.d.ts} +0 -0
  205. /package/lib/types/{src/WebGPU/pointer.d.ts → pointer.d.ts} +0 -0
  206. /package/lib/types/{src/shapes → svgToShapes}/const.d.ts +0 -0
  207. /package/lib/types/{src/types.d.ts → types.d.ts} +0 -0
  208. /package/lib/types/{src/utils → utils}/atNormIndex.d.ts +0 -0
  209. /package/lib/types/{src/utils → utils}/captureCanvasStream.d.ts +0 -0
  210. /package/lib/types/{src/utils → utils}/captureCanvasStreamWasm.d.ts +0 -0
  211. /package/lib/types/{src/utils → utils}/clamp.d.ts +0 -0
  212. /package/lib/types/{src/utils → utils}/debounce.d.ts +0 -0
  213. /package/lib/types/{src/utils → utils}/distancePointToLine.d.ts +0 -0
  214. /package/lib/types/{src/utils → utils}/fitCurve.d.ts +0 -0
  215. /package/lib/types/{src/utils → utils}/getAngle.d.ts +0 -0
  216. /package/lib/types/{src/utils → utils}/getAngleDiff.d.ts +0 -0
  217. /package/lib/types/{src/utils → utils}/getBezierPos.d.ts +0 -0
  218. /package/lib/types/{src/utils → utils}/getBezierTan.d.ts +0 -0
  219. /package/lib/types/{src/utils → utils}/getCurveLength.d.ts +0 -0
  220. /package/lib/types/{src/utils → utils}/getDefaultPoints.d.ts +0 -0
  221. /package/lib/types/{src/utils → utils}/getDistance.d.ts +0 -0
  222. /package/lib/types/{src/utils → utils}/mat4.d.ts +0 -0
  223. /package/lib/types/{src/utils → utils}/normalizeVec2.d.ts +0 -0
  224. /package/lib/types/{src/utils → utils}/resizeArray.d.ts +0 -0
  225. /package/lib/types/{src/utils → utils}/vec3.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeVec2.d.ts","sourceRoot":"","sources":["../../../../src/utils/normalizeVec2.ts"],"names":[],"mappings":"AAAA,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
File without changes
File without changes
File without changes
File without changes
File without changes