@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.
- package/lib/40dc20eab8f7c9f3.ttf +0 -0
- package/lib/index.mjs +2 -1
- package/lib/index.mjs.LICENSE.txt +1 -0
- package/lib/index.mjs.map +1 -1
- package/lib/types/WebGPU/canvasSizeObserver.d.ts.map +1 -0
- package/lib/types/WebGPU/generatePreview.d.ts +3 -0
- package/lib/types/WebGPU/generatePreview.d.ts.map +1 -0
- package/lib/types/WebGPU/getDevice.d.ts +6 -0
- package/lib/types/WebGPU/getDevice.d.ts.map +1 -0
- package/lib/types/WebGPU/getTexture/createCheckedImageData.d.ts.map +1 -0
- package/lib/types/WebGPU/getTexture/generateMimapsArray.d.ts.map +1 -0
- package/lib/types/{src/WebGPU → WebGPU}/getTexture/index.d.ts +3 -3
- package/lib/types/WebGPU/getTexture/index.d.ts.map +1 -0
- package/lib/types/WebGPU/m3.d.ts.map +1 -0
- package/lib/types/{src/WebGPU → WebGPU}/pick.d.ts +1 -2
- package/lib/types/WebGPU/pick.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/blur/getProgram.d.ts +2 -0
- package/lib/types/WebGPU/programs/blur/getProgram.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/clearComputeDepth/getProgram.d.ts +2 -0
- package/lib/types/WebGPU/programs/clearComputeDepth/getProgram.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/clearSdf/getProgram.d.ts +2 -0
- package/lib/types/WebGPU/programs/clearSdf/getProgram.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/combineSdf/getProgram.d.ts +2 -0
- package/lib/types/WebGPU/programs/combineSdf/getProgram.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/computeShape/getProgram.d.ts +2 -0
- package/lib/types/WebGPU/programs/computeShape/getProgram.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/drawShape/getProgram.d.ts +2 -0
- package/lib/types/WebGPU/programs/drawShape/getProgram.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/drawTexture/getProgram.d.ts +2 -0
- package/lib/types/WebGPU/programs/drawTexture/getProgram.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/drawTriangle/getProgram.d.ts +2 -0
- package/lib/types/WebGPU/programs/drawTriangle/getProgram.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/initPrograms.d.ts +32 -0
- package/lib/types/WebGPU/programs/initPrograms.d.ts.map +1 -0
- package/lib/types/WebGPU/programs/pickShape/getProgram.d.ts +2 -0
- package/lib/types/WebGPU/programs/pickShape/getProgram.d.ts.map +1 -0
- package/lib/types/{src/WebGPU → WebGPU}/programs/pickTexture/getProgram.d.ts +1 -1
- package/lib/types/WebGPU/programs/pickTexture/getProgram.d.ts.map +1 -0
- package/lib/types/{src/WebGPU → WebGPU}/programs/pickTriangle/getProgram.d.ts +1 -1
- package/lib/types/WebGPU/programs/pickTriangle/getProgram.d.ts.map +1 -0
- package/lib/types/WebGPU/textureCache.d.ts +3 -0
- package/lib/types/WebGPU/textureCache.d.ts.map +1 -0
- package/lib/types/consts.d.ts.map +1 -0
- package/lib/types/fonts.d.ts +5 -0
- package/lib/types/fonts.d.ts.map +1 -0
- package/lib/types/getCanvasMatrix.d.ts.map +1 -0
- package/lib/types/getCanvasRenderDescriptor.d.ts.map +1 -0
- package/lib/types/getDepthTexture.d.ts.map +1 -0
- package/lib/types/getMultisampleTexture.d.ts +2 -0
- package/lib/types/getMultisampleTexture.d.ts.map +1 -0
- package/lib/types/getRenderDescriptor.d.ts.map +1 -0
- package/lib/types/index.d.ts +61 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/loadingTexture.d.ts +2 -0
- package/lib/types/loadingTexture.d.ts.map +1 -0
- package/lib/types/pointer.d.ts.map +1 -0
- package/lib/types/{src/run.d.ts → run.d.ts} +1 -1
- package/lib/types/run.d.ts.map +1 -0
- package/lib/types/sanitizeFill.d.ts +2 -0
- package/lib/types/sanitizeFill.d.ts.map +1 -0
- package/lib/types/svgToShapes/arcToBezier.d.ts +11 -0
- package/lib/types/svgToShapes/arcToBezier.d.ts.map +1 -0
- package/lib/types/svgToShapes/boundingBox.d.ts +17 -0
- package/lib/types/svgToShapes/boundingBox.d.ts.map +1 -0
- package/lib/types/svgToShapes/collectShapesData.d.ts +10 -0
- package/lib/types/svgToShapes/collectShapesData.d.ts.map +1 -0
- package/lib/types/svgToShapes/const.d.ts.map +1 -0
- package/lib/types/svgToShapes/createShapes.d.ts +3 -0
- package/lib/types/svgToShapes/createShapes.d.ts.map +1 -0
- package/lib/types/svgToShapes/definitions.d.ts +43 -0
- package/lib/types/svgToShapes/definitions.d.ts.map +1 -0
- package/lib/types/svgToShapes/getProps.d.ts +4 -0
- package/lib/types/svgToShapes/getProps.d.ts.map +1 -0
- package/lib/types/svgToShapes/parseEllipse.d.ts +2 -0
- package/lib/types/svgToShapes/parseEllipse.d.ts.map +1 -0
- package/lib/types/svgToShapes/parsePathData.d.ts +2 -0
- package/lib/types/svgToShapes/parsePathData.d.ts.map +1 -0
- package/lib/types/svgToShapes/parseRect.d.ts +2 -0
- package/lib/types/svgToShapes/parseRect.d.ts.map +1 -0
- package/lib/types/svgToShapes/radialGradient.d.ts +15 -0
- package/lib/types/svgToShapes/radialGradient.d.ts.map +1 -0
- package/lib/types/svgToShapes/utils.d.ts +9 -0
- package/lib/types/svgToShapes/utils.d.ts.map +1 -0
- package/lib/types/textures.d.ts +21 -0
- package/lib/types/textures.d.ts.map +1 -0
- package/lib/types/types.d.ts.map +1 -0
- package/lib/types/typing.d.ts +6 -0
- package/lib/types/typing.d.ts.map +1 -0
- package/lib/types/utils/atNormIndex.d.ts.map +1 -0
- package/lib/types/utils/captureCanvasStream.d.ts.map +1 -0
- package/lib/types/utils/captureCanvasStreamWasm.d.ts.map +1 -0
- package/lib/types/utils/clamp.d.ts.map +1 -0
- package/lib/types/utils/debounce.d.ts.map +1 -0
- package/lib/types/utils/distancePointToLine.d.ts.map +1 -0
- package/lib/types/utils/fitCurve.d.ts.map +1 -0
- package/lib/types/utils/getAngle.d.ts.map +1 -0
- package/lib/types/utils/getAngleDiff.d.ts.map +1 -0
- package/lib/types/utils/getBezierPos.d.ts.map +1 -0
- package/lib/types/utils/getBezierTan.d.ts.map +1 -0
- package/lib/types/utils/getCurveLength.d.ts.map +1 -0
- package/lib/types/utils/getDefaultPoints.d.ts.map +1 -0
- package/lib/types/utils/getDistance.d.ts.map +1 -0
- package/lib/types/utils/mat4.d.ts.map +1 -0
- package/lib/types/utils/normalizeVec2.d.ts.map +1 -0
- package/lib/types/utils/resizeArray.d.ts.map +1 -0
- package/lib/types/utils/vec3.d.ts.map +1 -0
- package/package.json +6 -8
- package/lib/e9072ac5eb734c67.png +0 -0
- package/lib/types/src/WebGPU/canvasSizeObserver.d.ts.map +0 -1
- package/lib/types/src/WebGPU/generatePreview.d.ts +0 -2
- package/lib/types/src/WebGPU/generatePreview.d.ts.map +0 -1
- package/lib/types/src/WebGPU/getDevice.d.ts +0 -2
- package/lib/types/src/WebGPU/getDevice.d.ts.map +0 -1
- package/lib/types/src/WebGPU/getTexture/createCheckedImageData.d.ts.map +0 -1
- package/lib/types/src/WebGPU/getTexture/generateMimapsArray.d.ts.map +0 -1
- package/lib/types/src/WebGPU/getTexture/index.d.ts.map +0 -1
- package/lib/types/src/WebGPU/m3.d.ts.map +0 -1
- package/lib/types/src/WebGPU/pick.d.ts.map +0 -1
- package/lib/types/src/WebGPU/pointer.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/blur/getProgram.d.ts +0 -2
- package/lib/types/src/WebGPU/programs/blur/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/draw/getProgram.d.ts +0 -2
- package/lib/types/src/WebGPU/programs/draw/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/draw3dModel/getProgram.d.ts +0 -2
- package/lib/types/src/WebGPU/programs/draw3dModel/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/draw3dModelLight/getProgram.d.ts +0 -9
- package/lib/types/src/WebGPU/programs/draw3dModelLight/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/draw3dModelTexture/getProgram.d.ts +0 -2
- package/lib/types/src/WebGPU/programs/draw3dModelTexture/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/drawBezier/getProgram.d.ts +0 -2
- package/lib/types/src/WebGPU/programs/drawBezier/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/drawMSDF/getProgram.d.ts +0 -2
- package/lib/types/src/WebGPU/programs/drawMSDF/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/drawShape/getProgram.d.ts +0 -2
- package/lib/types/src/WebGPU/programs/drawShape/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/drawTexture/getProgram.d.ts +0 -2
- package/lib/types/src/WebGPU/programs/drawTexture/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/drawTriangle/getProgram.d.ts +0 -2
- package/lib/types/src/WebGPU/programs/drawTriangle/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/initPrograms.d.ts +0 -26
- package/lib/types/src/WebGPU/programs/initPrograms.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/pickTexture/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/programs/pickTriangle/getProgram.d.ts.map +0 -1
- package/lib/types/src/WebGPU/textureCache.d.ts +0 -3
- package/lib/types/src/WebGPU/textureCache.d.ts.map +0 -1
- package/lib/types/src/__test__/index.test.d.ts +0 -1
- package/lib/types/src/__test__/index.test.d.ts.map +0 -1
- package/lib/types/src/consts.d.ts.map +0 -1
- package/lib/types/src/getCanvasMatrix.d.ts.map +0 -1
- package/lib/types/src/getCanvasRenderDescriptor.d.ts.map +0 -1
- package/lib/types/src/getDepthTexture.d.ts.map +0 -1
- package/lib/types/src/getMultisampleTexture.d.ts +0 -2
- package/lib/types/src/getMultisampleTexture.d.ts.map +0 -1
- package/lib/types/src/getRenderDescriptor.d.ts.map +0 -1
- package/lib/types/src/index.d.ts +0 -25
- package/lib/types/src/index.d.ts.map +0 -1
- package/lib/types/src/loadingTexture.d.ts +0 -2
- package/lib/types/src/loadingTexture.d.ts.map +0 -1
- package/lib/types/src/models/Video/MiniatureVideo.d.ts +0 -30
- package/lib/types/src/models/Video/MiniatureVideo.d.ts.map +0 -1
- package/lib/types/src/run.d.ts.map +0 -1
- package/lib/types/src/shapes/const.d.ts.map +0 -1
- package/lib/types/src/shapes/createShape.d.ts +0 -3
- package/lib/types/src/shapes/createShape.d.ts.map +0 -1
- package/lib/types/src/shapes/parseColor.d.ts +0 -2
- package/lib/types/src/shapes/parseColor.d.ts.map +0 -1
- package/lib/types/src/shapes/parseEllipse.d.ts +0 -3
- package/lib/types/src/shapes/parseEllipse.d.ts.map +0 -1
- package/lib/types/src/shapes/parsePathData.d.ts +0 -3
- package/lib/types/src/shapes/parsePathData.d.ts.map +0 -1
- package/lib/types/src/shapes/parseRect.d.ts +0 -3
- package/lib/types/src/shapes/parseRect.d.ts.map +0 -1
- package/lib/types/src/shapes/types.d.ts +0 -4
- package/lib/types/src/shapes/types.d.ts.map +0 -1
- package/lib/types/src/textures.d.ts +0 -13
- package/lib/types/src/textures.d.ts.map +0 -1
- package/lib/types/src/types.d.ts.map +0 -1
- package/lib/types/src/utils/atNormIndex.d.ts.map +0 -1
- package/lib/types/src/utils/captureCanvasStream.d.ts.map +0 -1
- package/lib/types/src/utils/captureCanvasStreamWasm.d.ts.map +0 -1
- package/lib/types/src/utils/clamp.d.ts.map +0 -1
- package/lib/types/src/utils/debounce.d.ts.map +0 -1
- package/lib/types/src/utils/distancePointToLine.d.ts.map +0 -1
- package/lib/types/src/utils/fitCurve.d.ts.map +0 -1
- package/lib/types/src/utils/getAngle.d.ts.map +0 -1
- package/lib/types/src/utils/getAngleDiff.d.ts.map +0 -1
- package/lib/types/src/utils/getBezierPos.d.ts.map +0 -1
- package/lib/types/src/utils/getBezierTan.d.ts.map +0 -1
- package/lib/types/src/utils/getCurveLength.d.ts.map +0 -1
- package/lib/types/src/utils/getDefaultPoints.d.ts.map +0 -1
- package/lib/types/src/utils/getDistance.d.ts.map +0 -1
- package/lib/types/src/utils/mat4.d.ts.map +0 -1
- package/lib/types/src/utils/normalizeVec2.d.ts.map +0 -1
- package/lib/types/src/utils/resizeArray.d.ts.map +0 -1
- package/lib/types/src/utils/vec3.d.ts.map +0 -1
- /package/lib/types/{src/WebGPU → WebGPU}/canvasSizeObserver.d.ts +0 -0
- /package/lib/types/{src/WebGPU → WebGPU}/getTexture/createCheckedImageData.d.ts +0 -0
- /package/lib/types/{src/WebGPU → WebGPU}/getTexture/generateMimapsArray.d.ts +0 -0
- /package/lib/types/{src/WebGPU → WebGPU}/m3.d.ts +0 -0
- /package/lib/types/{src/consts.d.ts → consts.d.ts} +0 -0
- /package/lib/types/{src/getCanvasMatrix.d.ts → getCanvasMatrix.d.ts} +0 -0
- /package/lib/types/{src/getCanvasRenderDescriptor.d.ts → getCanvasRenderDescriptor.d.ts} +0 -0
- /package/lib/types/{src/getDepthTexture.d.ts → getDepthTexture.d.ts} +0 -0
- /package/lib/types/{src/getRenderDescriptor.d.ts → getRenderDescriptor.d.ts} +0 -0
- /package/lib/types/{src/WebGPU/pointer.d.ts → pointer.d.ts} +0 -0
- /package/lib/types/{src/shapes → svgToShapes}/const.d.ts +0 -0
- /package/lib/types/{src/types.d.ts → types.d.ts} +0 -0
- /package/lib/types/{src/utils → utils}/atNormIndex.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/captureCanvasStream.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/captureCanvasStreamWasm.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/clamp.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/debounce.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/distancePointToLine.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/fitCurve.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/getAngle.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/getAngleDiff.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/getBezierPos.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/getBezierTan.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/getCurveLength.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/getDefaultPoints.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/getDistance.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/mat4.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/normalizeVec2.d.ts +0 -0
- /package/lib/types/{src/utils → utils}/resizeArray.d.ts +0 -0
- /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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|