@pixerate/editor 0.134.0 → 0.135.0
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/dist/{chunk-6CTZAGZ2.js → chunk-ILYFOJUN.js} +56 -1
- package/dist/chunk-ILYFOJUN.js.map +1 -0
- package/dist/{chunk-NVTHUPJ6.cjs → chunk-YT3JL7YM.cjs} +71 -16
- package/dist/chunk-YT3JL7YM.cjs.map +1 -0
- package/dist/{export-BGdT02aL.d.cts → export-AZSwX087.d.cts} +10 -2
- package/dist/{export-Dng22YB8.d.ts → export-BDkyDNM8.d.ts} +10 -2
- package/dist/image-editor/index.cjs +130 -38
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +20 -5
- package/dist/image-editor/index.d.ts +20 -5
- package/dist/image-editor/index.js +102 -10
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint/index.cjs +10 -2
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +2 -2
- package/dist/paint/index.d.ts +2 -2
- package/dist/paint/index.js +9 -1
- package/dist/paint-editor/index.d.cts +3 -3
- package/dist/paint-editor/index.d.ts +3 -3
- package/dist/{rand-BaqEOs1Y.d.ts → rand-BszBST4s.d.ts} +31 -1
- package/dist/{rand-DdpFzCo6.d.cts → rand-DOH_aMvm.d.cts} +31 -1
- package/package.json +1 -1
- package/skills/pixerate-image-editor/SKILL.md +4 -4
- package/skills/pixerate-vector/SKILL.md +6 -1
- package/dist/chunk-6CTZAGZ2.js.map +0 -1
- package/dist/chunk-NVTHUPJ6.cjs.map +0 -1
package/dist/paint/index.cjs
CHANGED
|
@@ -32,7 +32,11 @@
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
var _chunkYT3JL7YMcjs = require('../chunk-YT3JL7YM.cjs');
|
|
36
40
|
|
|
37
41
|
|
|
38
42
|
|
|
@@ -457,5 +461,9 @@ require('../chunk-643B2HKC.cjs');
|
|
|
457
461
|
|
|
458
462
|
|
|
459
463
|
|
|
460
|
-
exports.BODY_SCATTER = _chunkFHPVDTI2cjs.BODY_SCATTER; exports.BRUSHSTROKE_MAX_SCALE = _chunkSYPFUL5Bcjs.BRUSHSTROKE_MAX_SCALE; exports.BRUSHSTROKE_MIN_SCALE = _chunkSYPFUL5Bcjs.BRUSHSTROKE_MIN_SCALE; exports.BrushstrokeCache = _chunkZ6OUCS2Kcjs.BrushstrokeCache; exports.CoverageMap = _chunk6GFRKLLScjs.CoverageMap; exports.DEFAULT_BLENDER = _chunk6GFRKLLScjs.DEFAULT_BLENDER; exports.DEFAULT_BRUSH = _chunk6GFRKLLScjs.DEFAULT_BRUSH; exports.DEFAULT_FLOW = _chunkFHPVDTI2cjs.DEFAULT_FLOW; exports.DEFAULT_MIXER = _chunk6GFRKLLScjs.DEFAULT_MIXER; exports.DEFAULT_PAINT_GRADIENT = _chunk6GFRKLLScjs.DEFAULT_PAINT_GRADIENT; exports.DEFAULT_PAINT_GRADIENT_MAPPING = _chunk6GFRKLLScjs.DEFAULT_PAINT_GRADIENT_MAPPING; exports.DEFAULT_RETOUCH = _chunkNVTHUPJ6cjs.DEFAULT_RETOUCH; exports.DEFAULT_SMUDGE = _chunk6GFRKLLScjs.DEFAULT_SMUDGE; exports.DEFAULT_WET_PAPER = _chunkFHPVDTI2cjs.DEFAULT_WET_PAPER; exports.DEFAULT_WET_PARAMS = _chunkFHPVDTI2cjs.DEFAULT_WET_PARAMS; exports.DRY_EPS = _chunkFHPVDTI2cjs.DRY_EPS; exports.DabWalker = _chunk6GFRKLLScjs.DabWalker; exports.EMPTY_MIXER_LOAD = _chunk6GFRKLLScjs.EMPTY_MIXER_LOAD; exports.EX = _chunkFHPVDTI2cjs.EX; exports.EY = _chunkFHPVDTI2cjs.EY; exports.FLAG_ALIVE = _chunkFHPVDTI2cjs.FLAG_ALIVE; exports.FLAG_BOTTOM = _chunkFHPVDTI2cjs.FLAG_BOTTOM; exports.FLAG_LEFT = _chunkFHPVDTI2cjs.FLAG_LEFT; exports.FLAG_RIGHT = _chunkFHPVDTI2cjs.FLAG_RIGHT; exports.FLAG_TOP = _chunkFHPVDTI2cjs.FLAG_TOP; exports.FLAG_WET = _chunkFHPVDTI2cjs.FLAG_WET; exports.FLAT = _chunkFHPVDTI2cjs.FLAT; exports.FREE_INTERVAL = _chunkFHPVDTI2cjs.FREE_INTERVAL; exports.HIDE = _chunkFHPVDTI2cjs.HIDE; exports.MAX_BATCH = _chunkFHPVDTI2cjs.MAX_BATCH; exports.MAX_BRUSH_SIZE = _chunk6GFRKLLScjs.MAX_BRUSH_SIZE; exports.MAX_TILT_ACCEL = _chunkFHPVDTI2cjs.MAX_TILT_ACCEL; exports.MAX_WET_LANES = _chunkFHPVDTI2cjs.MAX_WET_LANES; exports.MAX_WET_SLOTS = _chunkFHPVDTI2cjs.MAX_WET_SLOTS; exports.MIXER_DRAIN = _chunk6GFRKLLScjs.MIXER_DRAIN; exports.MIXER_PICKUP_RATE = _chunk6GFRKLLScjs.MIXER_PICKUP_RATE; exports.MIXING_MODELS = _chunk6GFRKLLScjs.MIXING_MODELS; exports.MixerStroke = _chunk6GFRKLLScjs.MixerStroke; exports.OPP = _chunkFHPVDTI2cjs.OPP; exports.PAINT_COLOR_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_COLOR_JSON_SCHEMA; exports.PAINT_GRADIENT_FULL_SPEED = _chunk6GFRKLLScjs.PAINT_GRADIENT_FULL_SPEED; exports.PAINT_GRADIENT_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_GRADIENT_JSON_SCHEMA; exports.PAINT_GRADIENT_KIT = _chunk6GFRKLLScjs.PAINT_GRADIENT_KIT; exports.PAINT_GRADIENT_MAPPINGS = _chunk6GFRKLLScjs.PAINT_GRADIENT_MAPPINGS; exports.PAINT_GRADIENT_MAPPING_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_MAPPING_LABELS; exports.PAINT_GRADIENT_PRESETS = _chunk6GFRKLLScjs.PAINT_GRADIENT_PRESETS; exports.PAINT_GRADIENT_REPEATS = _chunk6GFRKLLScjs.PAINT_GRADIENT_REPEATS; exports.PAINT_GRADIENT_REPEAT_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_REPEAT_LABELS; exports.PAINT_GRADIENT_SPACES = _chunk6GFRKLLScjs.PAINT_GRADIENT_SPACES; exports.PAINT_GRADIENT_SPACE_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_SPACE_LABELS; exports.PAINT_SOURCE_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_SOURCE_JSON_SCHEMA; exports.PAPER_CAPACITY = _chunkFHPVDTI2cjs.PAPER_CAPACITY; exports.PARAM = _chunkFHPVDTI2cjs.PARAM; exports.PARAM_FLOATS = _chunkFHPVDTI2cjs.PARAM_FLOATS; exports.PIGMENT_BANDS = _chunkJ5BA3BQ6cjs.PIGMENT_BANDS; exports.PIGMENT_CHANNELS = _chunkFHPVDTI2cjs.PIGMENT_CHANNELS; exports.PIGMENT_LAMBDA_MIN = _chunkJ5BA3BQ6cjs.PIGMENT_LAMBDA_MIN; exports.PIGMENT_LAMBDA_STEP = _chunkJ5BA3BQ6cjs.PIGMENT_LAMBDA_STEP; exports.PIGMENT_UNIT = _chunkFHPVDTI2cjs.PIGMENT_UNIT; exports.PIGMENT_WAVELENGTHS = _chunkJ5BA3BQ6cjs.PIGMENT_WAVELENGTHS; exports.PLANE = _chunkFHPVDTI2cjs.PLANE; exports.PLANE_BYTES = _chunkFHPVDTI2cjs.PLANE_BYTES; exports.P_D0 = _chunkFHPVDTI2cjs.P_D0; exports.P_EDGE = _chunkFHPVDTI2cjs.P_EDGE; exports.P_FX = _chunkFHPVDTI2cjs.P_FX; exports.P_FY = _chunkFHPVDTI2cjs.P_FY; exports.P_H = _chunkFHPVDTI2cjs.P_H; exports.P_P0 = _chunkFHPVDTI2cjs.P_P0; exports.P_RHO = _chunkFHPVDTI2cjs.P_RHO; exports.P_SW = _chunkFHPVDTI2cjs.P_SW; exports.P_UX = _chunkFHPVDTI2cjs.P_UX; exports.P_UY = _chunkFHPVDTI2cjs.P_UY; exports.PaintExchange = _chunk6GFRKLLScjs.PaintExchange; exports.PaintGradientSampler = _chunk6GFRKLLScjs.PaintGradientSampler; exports.PaintSourceError = _chunk6GFRKLLScjs.PaintSourceError; exports.RETOUCH_SAMPLES = _chunkNVTHUPJ6cjs.RETOUCH_SAMPLES; exports.RegionPixelSource = _chunkNVTHUPJ6cjs.RegionPixelSource; exports.RetouchDabStroke = _chunkNVTHUPJ6cjs.RetouchDabStroke; exports.SET_PLANES = _chunkFHPVDTI2cjs.SET_PLANES; exports.SLOT_BYTES = _chunkFHPVDTI2cjs.SLOT_BYTES; exports.SLOT_PLANES = _chunkFHPVDTI2cjs.SLOT_PLANES; exports.SLOT_SIDE = _chunkFHPVDTI2cjs.SLOT_SIDE; exports.SPOT_HEAL_TYPES = _chunkNVTHUPJ6cjs.SPOT_HEAL_TYPES; exports.SRGB_TO_LINEAR = _chunkFHPVDTI2cjs.SRGB_TO_LINEAR; exports.STRIP = _chunkFHPVDTI2cjs.STRIP; exports.SmudgeTip = _chunk6GFRKLLScjs.SmudgeTip; exports.StrokeCoverage = _chunk6GFRKLLScjs.StrokeCoverage; exports.TIP_GRADIENT_STEPS = _chunk6GFRKLLScjs.TIP_GRADIENT_STEPS; exports.TONE_RANGES = _chunkNVTHUPJ6cjs.TONE_RANGES; exports.TileMedium = _chunk6GFRKLLScjs.TileMedium; exports.TilePixelSource = _chunkNVTHUPJ6cjs.TilePixelSource; exports.U_MAX = _chunkFHPVDTI2cjs.U_MAX; exports.W9 = _chunkFHPVDTI2cjs.W9; exports.WET_FLOW_KINDS = _chunkFHPVDTI2cjs.WET_FLOW_KINDS; exports.WET_PARAM_KEYS = _chunkFHPVDTI2cjs.WET_PARAM_KEYS; exports.WET_TILE = _chunkFHPVDTI2cjs.WET_TILE; exports.WGSL_HALO = _chunkFHPVDTI2cjs.WGSL_HALO; exports.WGSL_SHADE = _chunkFHPVDTI2cjs.WGSL_SHADE; exports.WGSL_STEP = _chunkFHPVDTI2cjs.WGSL_STEP; exports.WetGpuEngine = _chunkFHPVDTI2cjs.WetGpuEngine; exports.WetMedium = _chunkFHPVDTI2cjs.WetMedium; exports.WetWorkerPool = _chunkFHPVDTI2cjs.WetWorkerPool; exports.WetWorld = _chunkFHPVDTI2cjs.WetWorld; exports.WetWorldError = _chunkFHPVDTI2cjs.WetWorldError; exports.addPaintGradientStop = _chunk6GFRKLLScjs.addPaintGradientStop; exports.applyRetouchToTile = _chunkNVTHUPJ6cjs.applyRetouchToTile; exports.applyStrokeToDeepTile = _chunk6GFRKLLScjs.applyStrokeToDeepTile; exports.applyStrokeToTile = _chunk6GFRKLLScjs.applyStrokeToTile; exports.applyToneToDeepTile = _chunkNVTHUPJ6cjs.applyToneToDeepTile; exports.bestOffset = _chunkNVTHUPJ6cjs.bestOffset; exports.blendRadius = _chunk6GFRKLLScjs.blendRadius; exports.blenderDab = _chunk6GFRKLLScjs.blenderDab; exports.boxBlurPixels = _chunkNVTHUPJ6cjs.boxBlurPixels; exports.brushstrokeDataUrl = _chunkZ6OUCS2Kcjs.brushstrokeDataUrl; exports.brushstrokeKey = _chunkZ6OUCS2Kcjs.brushstrokeKey; exports.brushstrokeSamples = _chunkZ6OUCS2Kcjs.brushstrokeSamples; exports.brushstrokeScaleBucket = _chunkSYPFUL5Bcjs.brushstrokeScaleBucket; exports.brushstrokeStrokeOptions = _chunkZ6OUCS2Kcjs.brushstrokeStrokeOptions; exports.brushstrokeToCanvas = _chunkZ6OUCS2Kcjs.brushstrokeToCanvas; exports.canShareMemory = _chunkFHPVDTI2cjs.canShareMemory; exports.cleanMixer = _chunk6GFRKLLScjs.cleanMixer; exports.contentAwareFill = _chunkNVTHUPJ6cjs.contentAwareFill; exports.coverageTileCoord = _chunk6GFRKLLScjs.coverageTileCoord; exports.createBlenderScratch = _chunk6GFRKLLScjs.createBlenderScratch; exports.createPigment = _chunkJ5BA3BQ6cjs.createPigment; exports.createPigmentTools = _chunkFHPVDTI2cjs.createPigmentTools; exports.createWetGpuEngine = _chunkFHPVDTI2cjs.createWetGpuEngine; exports.dabCoverage = _chunk6GFRKLLScjs.dabCoverage; exports.dabRect = _chunk6GFRKLLScjs.dabRect; exports.dexp = _chunkFHPVDTI2cjs.dexp; exports.dilateMask = _chunkNVTHUPJ6cjs.dilateMask; exports.dlog = _chunkFHPVDTI2cjs.dlog; exports.dodgeBurn = _chunkNVTHUPJ6cjs.dodgeBurn; exports.dodgeBurnCurve = _chunkNVTHUPJ6cjs.dodgeBurnCurve; exports.dpow = _chunkFHPVDTI2cjs.dpow; exports.dsincos = _chunkFHPVDTI2cjs.dsincos; exports.edgeBits = _chunkFHPVDTI2cjs.edgeBits; exports.exchangeRates = _chunk6GFRKLLScjs.exchangeRates; exports.expNeg = _chunkFHPVDTI2cjs.expNeg; exports.filmPixel = _chunkFHPVDTI2cjs.filmPixel; exports.filmReflectance = _chunkFHPVDTI2cjs.filmReflectance; exports.findWebGpu = _chunkFHPVDTI2cjs.findWebGpu; exports.flowField = _chunkFHPVDTI2cjs.flowField; exports.gradientDabColor = _chunk6GFRKLLScjs.gradientDabColor; exports.hash2 = _chunk6GFRKLLScjs.hash2; exports.healPixels = _chunkNVTHUPJ6cjs.healPixels; exports.hexToPaintRgb = _chunk6GFRKLLScjs.hexToPaintRgb; exports.isBrushstrokeBrush = _chunkZ6OUCS2Kcjs.isBrushstrokeBrush; exports.isGradientPaint = _chunk6GFRKLLScjs.isGradientPaint; exports.latticeViscosity = _chunkFHPVDTI2cjs.latticeViscosity; exports.lerpPigment = _chunkJ5BA3BQ6cjs.lerpPigment; exports.lerpPigmentInto = _chunkJ5BA3BQ6cjs.lerpPigmentInto; exports.linearToSrgb8 = _chunkFHPVDTI2cjs.linearToSrgb8; exports.loadMixer = _chunk6GFRKLLScjs.loadMixer; exports.loadWetKernel = _chunkFHPVDTI2cjs.loadWetKernel; exports.luma = _chunkNVTHUPJ6cjs.luma; exports.maskBounds = _chunkNVTHUPJ6cjs.maskBounds; exports.membraneFill = _chunkNVTHUPJ6cjs.membraneFill; exports.mix32 = _chunk6GFRKLLScjs.mix32; exports.mixPigments = _chunkJ5BA3BQ6cjs.mixPigments; exports.mixerRates = _chunk6GFRKLLScjs.mixerRates; exports.normalizeBlender = _chunk6GFRKLLScjs.normalizeBlender; exports.normalizeBrush = _chunk6GFRKLLScjs.normalizeBrush; exports.normalizeFlow = _chunkFHPVDTI2cjs.normalizeFlow; exports.normalizeHexColor = _chunk6GFRKLLScjs.normalizeHexColor; exports.normalizeMixer = _chunk6GFRKLLScjs.normalizeMixer; exports.normalizeRetouch = _chunkNVTHUPJ6cjs.normalizeRetouch; exports.normalizeSmudge = _chunk6GFRKLLScjs.normalizeSmudge; exports.normalizeTilt = _chunkFHPVDTI2cjs.normalizeTilt; exports.normalizeWetParams = _chunkFHPVDTI2cjs.normalizeWetParams; exports.packWetParams = _chunkFHPVDTI2cjs.packWetParams; exports.paintGradientMappingFor = _chunk6GFRKLLScjs.paintGradientMappingFor; exports.paintPathStroke = _chunkZ6OUCS2Kcjs.paintPathStroke; exports.paintSourceColor = _chunk6GFRKLLScjs.paintSourceColor; exports.paintSourceCss = _chunk6GFRKLLScjs.paintSourceCss; exports.parsePaintSource = _chunk6GFRKLLScjs.parsePaintSource; exports.pathStrokeCoverage = _chunkZ6OUCS2Kcjs.pathStrokeCoverage; exports.pathStrokeDabs = _chunkZ6OUCS2Kcjs.pathStrokeDabs; exports.perDabStrength = _chunkNVTHUPJ6cjs.perDabStrength; exports.pigmentColor = _chunkFHPVDTI2cjs.pigmentColor; exports.pigmentOf = _chunkFHPVDTI2cjs.pigmentOf; exports.pixelPigment = _chunkFHPVDTI2cjs.pixelPigment; exports.pointerPressure = _chunkFHPVDTI2cjs.pointerPressure; exports.pointerStrokeSample = _chunkFHPVDTI2cjs.pointerStrokeSample; exports.pointerStrokeSamples = _chunkFHPVDTI2cjs.pointerStrokeSamples; exports.put255 = _chunk6GFRKLLScjs.put255; exports.rand01 = _chunk6GFRKLLScjs.rand01; exports.rasterizeDab = _chunk6GFRKLLScjs.rasterizeDab; exports.readPaintSource = _chunk6GFRKLLScjs.readPaintSource; exports.readSourceRegion = _chunkNVTHUPJ6cjs.readSourceRegion; exports.reflectanceToRgb = _chunkJ5BA3BQ6cjs.reflectanceToRgb; exports.removePaintGradientStop = _chunk6GFRKLLScjs.removePaintGradientStop; exports.renderBrushstroke = _chunkZ6OUCS2Kcjs.renderBrushstroke; exports.resolvePaintGradient = _chunk6GFRKLLScjs.resolvePaintGradient; exports.retouchFilter = _chunkNVTHUPJ6cjs.retouchFilter; exports.reversePaintGradient = _chunk6GFRKLLScjs.reversePaintGradient; exports.rgbToReflectance = _chunkJ5BA3BQ6cjs.rgbToReflectance; exports.rgbaViewOfGrey = _chunkNVTHUPJ6cjs.rgbaViewOfGrey; exports.saturationOf = _chunkNVTHUPJ6cjs.saturationOf; exports.scalePaintGradient = _chunk6GFRKLLScjs.scalePaintGradient; exports.seamlessClone = _chunkNVTHUPJ6cjs.seamlessClone; exports.setPigmentColor = _chunkJ5BA3BQ6cjs.setPigmentColor; exports.shadeTile = _chunkFHPVDTI2cjs.shadeTile; exports.smoothPoints = _chunk6GFRKLLScjs.smoothPoints; exports.smudgeEffect = _chunkNVTHUPJ6cjs.smudgeEffect; exports.solidPaint = _chunk6GFRKLLScjs.solidPaint; exports.solveMembrane = _chunkNVTHUPJ6cjs.solveMembrane; exports.sponge = _chunkNVTHUPJ6cjs.sponge; exports.spongeEffect = _chunkNVTHUPJ6cjs.spongeEffect; exports.spotHealPixels = _chunkNVTHUPJ6cjs.spotHealPixels; exports.spotHealWindow = _chunkNVTHUPJ6cjs.spotHealWindow; exports.srgbByteToLinear = _chunkFHPVDTI2cjs.srgbByteToLinear; exports.stepSlotTs = _chunkFHPVDTI2cjs.stepSlotTs; exports.tipFalloff = _chunk6GFRKLLScjs.tipFalloff; exports.tipReach = _chunk6GFRKLLScjs.tipReach; exports.tipShape = _chunk6GFRKLLScjs.tipShape; exports.toneOf = _chunkNVTHUPJ6cjs.toneOf; exports.updatePaintGradientStop = _chunk6GFRKLLScjs.updatePaintGradientStop; exports.walkDabs = _chunk6GFRKLLScjs.walkDabs; exports.wetGpuSupport = _chunkFHPVDTI2cjs.wetGpuSupport; exports.wetSimdSupported = _chunkFHPVDTI2cjs.wetSimdSupported; exports.wetSupport = _chunkFHPVDTI2cjs.wetSupport;
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
exports.BODY_SCATTER = _chunkFHPVDTI2cjs.BODY_SCATTER; exports.BRUSHSTROKE_MAX_SCALE = _chunkSYPFUL5Bcjs.BRUSHSTROKE_MAX_SCALE; exports.BRUSHSTROKE_MIN_SCALE = _chunkSYPFUL5Bcjs.BRUSHSTROKE_MIN_SCALE; exports.BrushstrokeCache = _chunkZ6OUCS2Kcjs.BrushstrokeCache; exports.CoverageMap = _chunk6GFRKLLScjs.CoverageMap; exports.DEFAULT_BLENDER = _chunk6GFRKLLScjs.DEFAULT_BLENDER; exports.DEFAULT_BRUSH = _chunk6GFRKLLScjs.DEFAULT_BRUSH; exports.DEFAULT_FLOW = _chunkFHPVDTI2cjs.DEFAULT_FLOW; exports.DEFAULT_MIXER = _chunk6GFRKLLScjs.DEFAULT_MIXER; exports.DEFAULT_PAINT_GRADIENT = _chunk6GFRKLLScjs.DEFAULT_PAINT_GRADIENT; exports.DEFAULT_PAINT_GRADIENT_MAPPING = _chunk6GFRKLLScjs.DEFAULT_PAINT_GRADIENT_MAPPING; exports.DEFAULT_RETOUCH = _chunkYT3JL7YMcjs.DEFAULT_RETOUCH; exports.DEFAULT_SMUDGE = _chunk6GFRKLLScjs.DEFAULT_SMUDGE; exports.DEFAULT_WET_PAPER = _chunkFHPVDTI2cjs.DEFAULT_WET_PAPER; exports.DEFAULT_WET_PARAMS = _chunkFHPVDTI2cjs.DEFAULT_WET_PARAMS; exports.DRY_EPS = _chunkFHPVDTI2cjs.DRY_EPS; exports.DabWalker = _chunk6GFRKLLScjs.DabWalker; exports.EMPTY_MIXER_LOAD = _chunk6GFRKLLScjs.EMPTY_MIXER_LOAD; exports.EX = _chunkFHPVDTI2cjs.EX; exports.EY = _chunkFHPVDTI2cjs.EY; exports.FLAG_ALIVE = _chunkFHPVDTI2cjs.FLAG_ALIVE; exports.FLAG_BOTTOM = _chunkFHPVDTI2cjs.FLAG_BOTTOM; exports.FLAG_LEFT = _chunkFHPVDTI2cjs.FLAG_LEFT; exports.FLAG_RIGHT = _chunkFHPVDTI2cjs.FLAG_RIGHT; exports.FLAG_TOP = _chunkFHPVDTI2cjs.FLAG_TOP; exports.FLAG_WET = _chunkFHPVDTI2cjs.FLAG_WET; exports.FLAT = _chunkFHPVDTI2cjs.FLAT; exports.FREE_INTERVAL = _chunkFHPVDTI2cjs.FREE_INTERVAL; exports.HIDE = _chunkFHPVDTI2cjs.HIDE; exports.IDENTITY_CLONE_TRANSFORM = _chunkYT3JL7YMcjs.IDENTITY_CLONE_TRANSFORM; exports.MAX_BATCH = _chunkFHPVDTI2cjs.MAX_BATCH; exports.MAX_BRUSH_SIZE = _chunk6GFRKLLScjs.MAX_BRUSH_SIZE; exports.MAX_TILT_ACCEL = _chunkFHPVDTI2cjs.MAX_TILT_ACCEL; exports.MAX_WET_LANES = _chunkFHPVDTI2cjs.MAX_WET_LANES; exports.MAX_WET_SLOTS = _chunkFHPVDTI2cjs.MAX_WET_SLOTS; exports.MIXER_DRAIN = _chunk6GFRKLLScjs.MIXER_DRAIN; exports.MIXER_PICKUP_RATE = _chunk6GFRKLLScjs.MIXER_PICKUP_RATE; exports.MIXING_MODELS = _chunk6GFRKLLScjs.MIXING_MODELS; exports.MixerStroke = _chunk6GFRKLLScjs.MixerStroke; exports.OPP = _chunkFHPVDTI2cjs.OPP; exports.PAINT_COLOR_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_COLOR_JSON_SCHEMA; exports.PAINT_GRADIENT_FULL_SPEED = _chunk6GFRKLLScjs.PAINT_GRADIENT_FULL_SPEED; exports.PAINT_GRADIENT_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_GRADIENT_JSON_SCHEMA; exports.PAINT_GRADIENT_KIT = _chunk6GFRKLLScjs.PAINT_GRADIENT_KIT; exports.PAINT_GRADIENT_MAPPINGS = _chunk6GFRKLLScjs.PAINT_GRADIENT_MAPPINGS; exports.PAINT_GRADIENT_MAPPING_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_MAPPING_LABELS; exports.PAINT_GRADIENT_PRESETS = _chunk6GFRKLLScjs.PAINT_GRADIENT_PRESETS; exports.PAINT_GRADIENT_REPEATS = _chunk6GFRKLLScjs.PAINT_GRADIENT_REPEATS; exports.PAINT_GRADIENT_REPEAT_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_REPEAT_LABELS; exports.PAINT_GRADIENT_SPACES = _chunk6GFRKLLScjs.PAINT_GRADIENT_SPACES; exports.PAINT_GRADIENT_SPACE_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_SPACE_LABELS; exports.PAINT_SOURCE_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_SOURCE_JSON_SCHEMA; exports.PAPER_CAPACITY = _chunkFHPVDTI2cjs.PAPER_CAPACITY; exports.PARAM = _chunkFHPVDTI2cjs.PARAM; exports.PARAM_FLOATS = _chunkFHPVDTI2cjs.PARAM_FLOATS; exports.PIGMENT_BANDS = _chunkJ5BA3BQ6cjs.PIGMENT_BANDS; exports.PIGMENT_CHANNELS = _chunkFHPVDTI2cjs.PIGMENT_CHANNELS; exports.PIGMENT_LAMBDA_MIN = _chunkJ5BA3BQ6cjs.PIGMENT_LAMBDA_MIN; exports.PIGMENT_LAMBDA_STEP = _chunkJ5BA3BQ6cjs.PIGMENT_LAMBDA_STEP; exports.PIGMENT_UNIT = _chunkFHPVDTI2cjs.PIGMENT_UNIT; exports.PIGMENT_WAVELENGTHS = _chunkJ5BA3BQ6cjs.PIGMENT_WAVELENGTHS; exports.PLANE = _chunkFHPVDTI2cjs.PLANE; exports.PLANE_BYTES = _chunkFHPVDTI2cjs.PLANE_BYTES; exports.P_D0 = _chunkFHPVDTI2cjs.P_D0; exports.P_EDGE = _chunkFHPVDTI2cjs.P_EDGE; exports.P_FX = _chunkFHPVDTI2cjs.P_FX; exports.P_FY = _chunkFHPVDTI2cjs.P_FY; exports.P_H = _chunkFHPVDTI2cjs.P_H; exports.P_P0 = _chunkFHPVDTI2cjs.P_P0; exports.P_RHO = _chunkFHPVDTI2cjs.P_RHO; exports.P_SW = _chunkFHPVDTI2cjs.P_SW; exports.P_UX = _chunkFHPVDTI2cjs.P_UX; exports.P_UY = _chunkFHPVDTI2cjs.P_UY; exports.PaintExchange = _chunk6GFRKLLScjs.PaintExchange; exports.PaintGradientSampler = _chunk6GFRKLLScjs.PaintGradientSampler; exports.PaintSourceError = _chunk6GFRKLLScjs.PaintSourceError; exports.RETOUCH_SAMPLES = _chunkYT3JL7YMcjs.RETOUCH_SAMPLES; exports.RegionPixelSource = _chunkYT3JL7YMcjs.RegionPixelSource; exports.RetouchDabStroke = _chunkYT3JL7YMcjs.RetouchDabStroke; exports.SET_PLANES = _chunkFHPVDTI2cjs.SET_PLANES; exports.SLOT_BYTES = _chunkFHPVDTI2cjs.SLOT_BYTES; exports.SLOT_PLANES = _chunkFHPVDTI2cjs.SLOT_PLANES; exports.SLOT_SIDE = _chunkFHPVDTI2cjs.SLOT_SIDE; exports.SPOT_HEAL_TYPES = _chunkYT3JL7YMcjs.SPOT_HEAL_TYPES; exports.SRGB_TO_LINEAR = _chunkFHPVDTI2cjs.SRGB_TO_LINEAR; exports.STRIP = _chunkFHPVDTI2cjs.STRIP; exports.SmudgeTip = _chunk6GFRKLLScjs.SmudgeTip; exports.StrokeCoverage = _chunk6GFRKLLScjs.StrokeCoverage; exports.TIP_GRADIENT_STEPS = _chunk6GFRKLLScjs.TIP_GRADIENT_STEPS; exports.TONE_RANGES = _chunkYT3JL7YMcjs.TONE_RANGES; exports.TileMedium = _chunk6GFRKLLScjs.TileMedium; exports.TilePixelSource = _chunkYT3JL7YMcjs.TilePixelSource; exports.TransformedPixelSource = _chunkYT3JL7YMcjs.TransformedPixelSource; exports.U_MAX = _chunkFHPVDTI2cjs.U_MAX; exports.W9 = _chunkFHPVDTI2cjs.W9; exports.WET_FLOW_KINDS = _chunkFHPVDTI2cjs.WET_FLOW_KINDS; exports.WET_PARAM_KEYS = _chunkFHPVDTI2cjs.WET_PARAM_KEYS; exports.WET_TILE = _chunkFHPVDTI2cjs.WET_TILE; exports.WGSL_HALO = _chunkFHPVDTI2cjs.WGSL_HALO; exports.WGSL_SHADE = _chunkFHPVDTI2cjs.WGSL_SHADE; exports.WGSL_STEP = _chunkFHPVDTI2cjs.WGSL_STEP; exports.WetGpuEngine = _chunkFHPVDTI2cjs.WetGpuEngine; exports.WetMedium = _chunkFHPVDTI2cjs.WetMedium; exports.WetWorkerPool = _chunkFHPVDTI2cjs.WetWorkerPool; exports.WetWorld = _chunkFHPVDTI2cjs.WetWorld; exports.WetWorldError = _chunkFHPVDTI2cjs.WetWorldError; exports.addPaintGradientStop = _chunk6GFRKLLScjs.addPaintGradientStop; exports.applyRetouchToTile = _chunkYT3JL7YMcjs.applyRetouchToTile; exports.applyStrokeToDeepTile = _chunk6GFRKLLScjs.applyStrokeToDeepTile; exports.applyStrokeToTile = _chunk6GFRKLLScjs.applyStrokeToTile; exports.applyToneToDeepTile = _chunkYT3JL7YMcjs.applyToneToDeepTile; exports.bestOffset = _chunkYT3JL7YMcjs.bestOffset; exports.blendRadius = _chunk6GFRKLLScjs.blendRadius; exports.blenderDab = _chunk6GFRKLLScjs.blenderDab; exports.boxBlurPixels = _chunkYT3JL7YMcjs.boxBlurPixels; exports.brushstrokeDataUrl = _chunkZ6OUCS2Kcjs.brushstrokeDataUrl; exports.brushstrokeKey = _chunkZ6OUCS2Kcjs.brushstrokeKey; exports.brushstrokeSamples = _chunkZ6OUCS2Kcjs.brushstrokeSamples; exports.brushstrokeScaleBucket = _chunkSYPFUL5Bcjs.brushstrokeScaleBucket; exports.brushstrokeStrokeOptions = _chunkZ6OUCS2Kcjs.brushstrokeStrokeOptions; exports.brushstrokeToCanvas = _chunkZ6OUCS2Kcjs.brushstrokeToCanvas; exports.canShareMemory = _chunkFHPVDTI2cjs.canShareMemory; exports.cleanMixer = _chunk6GFRKLLScjs.cleanMixer; exports.cloneSamplePoint = _chunkYT3JL7YMcjs.cloneSamplePoint; exports.contentAwareFill = _chunkYT3JL7YMcjs.contentAwareFill; exports.coverageTileCoord = _chunk6GFRKLLScjs.coverageTileCoord; exports.createBlenderScratch = _chunk6GFRKLLScjs.createBlenderScratch; exports.createPigment = _chunkJ5BA3BQ6cjs.createPigment; exports.createPigmentTools = _chunkFHPVDTI2cjs.createPigmentTools; exports.createWetGpuEngine = _chunkFHPVDTI2cjs.createWetGpuEngine; exports.dabCoverage = _chunk6GFRKLLScjs.dabCoverage; exports.dabRect = _chunk6GFRKLLScjs.dabRect; exports.dexp = _chunkFHPVDTI2cjs.dexp; exports.dilateMask = _chunkYT3JL7YMcjs.dilateMask; exports.dlog = _chunkFHPVDTI2cjs.dlog; exports.dodgeBurn = _chunkYT3JL7YMcjs.dodgeBurn; exports.dodgeBurnCurve = _chunkYT3JL7YMcjs.dodgeBurnCurve; exports.dpow = _chunkFHPVDTI2cjs.dpow; exports.dsincos = _chunkFHPVDTI2cjs.dsincos; exports.edgeBits = _chunkFHPVDTI2cjs.edgeBits; exports.exchangeRates = _chunk6GFRKLLScjs.exchangeRates; exports.expNeg = _chunkFHPVDTI2cjs.expNeg; exports.filmPixel = _chunkFHPVDTI2cjs.filmPixel; exports.filmReflectance = _chunkFHPVDTI2cjs.filmReflectance; exports.findWebGpu = _chunkFHPVDTI2cjs.findWebGpu; exports.flowField = _chunkFHPVDTI2cjs.flowField; exports.gradientDabColor = _chunk6GFRKLLScjs.gradientDabColor; exports.hash2 = _chunk6GFRKLLScjs.hash2; exports.healPixels = _chunkYT3JL7YMcjs.healPixels; exports.hexToPaintRgb = _chunk6GFRKLLScjs.hexToPaintRgb; exports.isBrushstrokeBrush = _chunkZ6OUCS2Kcjs.isBrushstrokeBrush; exports.isGradientPaint = _chunk6GFRKLLScjs.isGradientPaint; exports.isIdentityCloneTransform = _chunkYT3JL7YMcjs.isIdentityCloneTransform; exports.latticeViscosity = _chunkFHPVDTI2cjs.latticeViscosity; exports.lerpPigment = _chunkJ5BA3BQ6cjs.lerpPigment; exports.lerpPigmentInto = _chunkJ5BA3BQ6cjs.lerpPigmentInto; exports.linearToSrgb8 = _chunkFHPVDTI2cjs.linearToSrgb8; exports.loadMixer = _chunk6GFRKLLScjs.loadMixer; exports.loadWetKernel = _chunkFHPVDTI2cjs.loadWetKernel; exports.luma = _chunkYT3JL7YMcjs.luma; exports.maskBounds = _chunkYT3JL7YMcjs.maskBounds; exports.membraneFill = _chunkYT3JL7YMcjs.membraneFill; exports.mix32 = _chunk6GFRKLLScjs.mix32; exports.mixPigments = _chunkJ5BA3BQ6cjs.mixPigments; exports.mixerRates = _chunk6GFRKLLScjs.mixerRates; exports.normalizeBlender = _chunk6GFRKLLScjs.normalizeBlender; exports.normalizeBrush = _chunk6GFRKLLScjs.normalizeBrush; exports.normalizeFlow = _chunkFHPVDTI2cjs.normalizeFlow; exports.normalizeHexColor = _chunk6GFRKLLScjs.normalizeHexColor; exports.normalizeMixer = _chunk6GFRKLLScjs.normalizeMixer; exports.normalizeRetouch = _chunkYT3JL7YMcjs.normalizeRetouch; exports.normalizeSmudge = _chunk6GFRKLLScjs.normalizeSmudge; exports.normalizeTilt = _chunkFHPVDTI2cjs.normalizeTilt; exports.normalizeWetParams = _chunkFHPVDTI2cjs.normalizeWetParams; exports.packWetParams = _chunkFHPVDTI2cjs.packWetParams; exports.paintGradientMappingFor = _chunk6GFRKLLScjs.paintGradientMappingFor; exports.paintPathStroke = _chunkZ6OUCS2Kcjs.paintPathStroke; exports.paintSourceColor = _chunk6GFRKLLScjs.paintSourceColor; exports.paintSourceCss = _chunk6GFRKLLScjs.paintSourceCss; exports.parsePaintSource = _chunk6GFRKLLScjs.parsePaintSource; exports.pathStrokeCoverage = _chunkZ6OUCS2Kcjs.pathStrokeCoverage; exports.pathStrokeDabs = _chunkZ6OUCS2Kcjs.pathStrokeDabs; exports.perDabStrength = _chunkYT3JL7YMcjs.perDabStrength; exports.pigmentColor = _chunkFHPVDTI2cjs.pigmentColor; exports.pigmentOf = _chunkFHPVDTI2cjs.pigmentOf; exports.pixelPigment = _chunkFHPVDTI2cjs.pixelPigment; exports.pointerPressure = _chunkFHPVDTI2cjs.pointerPressure; exports.pointerStrokeSample = _chunkFHPVDTI2cjs.pointerStrokeSample; exports.pointerStrokeSamples = _chunkFHPVDTI2cjs.pointerStrokeSamples; exports.put255 = _chunk6GFRKLLScjs.put255; exports.rand01 = _chunk6GFRKLLScjs.rand01; exports.rasterizeDab = _chunk6GFRKLLScjs.rasterizeDab; exports.readPaintSource = _chunk6GFRKLLScjs.readPaintSource; exports.readSourceRegion = _chunkYT3JL7YMcjs.readSourceRegion; exports.reflectanceToRgb = _chunkJ5BA3BQ6cjs.reflectanceToRgb; exports.removePaintGradientStop = _chunk6GFRKLLScjs.removePaintGradientStop; exports.renderBrushstroke = _chunkZ6OUCS2Kcjs.renderBrushstroke; exports.resolvePaintGradient = _chunk6GFRKLLScjs.resolvePaintGradient; exports.retouchFilter = _chunkYT3JL7YMcjs.retouchFilter; exports.reversePaintGradient = _chunk6GFRKLLScjs.reversePaintGradient; exports.rgbToReflectance = _chunkJ5BA3BQ6cjs.rgbToReflectance; exports.rgbaViewOfGrey = _chunkYT3JL7YMcjs.rgbaViewOfGrey; exports.saturationOf = _chunkYT3JL7YMcjs.saturationOf; exports.scalePaintGradient = _chunk6GFRKLLScjs.scalePaintGradient; exports.seamlessClone = _chunkYT3JL7YMcjs.seamlessClone; exports.setPigmentColor = _chunkJ5BA3BQ6cjs.setPigmentColor; exports.shadeTile = _chunkFHPVDTI2cjs.shadeTile; exports.smoothPoints = _chunk6GFRKLLScjs.smoothPoints; exports.smudgeEffect = _chunkYT3JL7YMcjs.smudgeEffect; exports.solidPaint = _chunk6GFRKLLScjs.solidPaint; exports.solveMembrane = _chunkYT3JL7YMcjs.solveMembrane; exports.sponge = _chunkYT3JL7YMcjs.sponge; exports.spongeEffect = _chunkYT3JL7YMcjs.spongeEffect; exports.spotHealPixels = _chunkYT3JL7YMcjs.spotHealPixels; exports.spotHealWindow = _chunkYT3JL7YMcjs.spotHealWindow; exports.srgbByteToLinear = _chunkFHPVDTI2cjs.srgbByteToLinear; exports.stepSlotTs = _chunkFHPVDTI2cjs.stepSlotTs; exports.tipFalloff = _chunk6GFRKLLScjs.tipFalloff; exports.tipReach = _chunk6GFRKLLScjs.tipReach; exports.tipShape = _chunk6GFRKLLScjs.tipShape; exports.toneOf = _chunkYT3JL7YMcjs.toneOf; exports.updatePaintGradientStop = _chunk6GFRKLLScjs.updatePaintGradientStop; exports.walkDabs = _chunk6GFRKLLScjs.walkDabs; exports.wetGpuSupport = _chunkFHPVDTI2cjs.wetGpuSupport; exports.wetSimdSupported = _chunkFHPVDTI2cjs.wetSimdSupported; exports.wetSupport = _chunkFHPVDTI2cjs.wetSupport;
|
|
461
469
|
//# sourceMappingURL=index.cjs.map
|
package/dist/paint/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/paint/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/paint/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,urZAAC","file":"/home/runner/work/editor/editor/packages/core/dist/paint/index.cjs"}
|
package/dist/paint/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { be as PaintMedium, W as WetWorld, bg as PaintSample, q as RgbTriple, B as BrushSettings, P as PaintSource, g as CoverageMap, D as Dab } from '../rand-DOH_aMvm.cjs';
|
|
2
|
+
export { av as BlenderScratch, l as BlenderSettings, C as CloneTransform, aw as DEFAULT_BLENDER, ax as DEFAULT_BRUSH, w as DEFAULT_FLOW, ay as DEFAULT_MIXER, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, az as DEFAULT_RETOUCH, aA as DEFAULT_SMUDGE, aB as DEFAULT_WET_PAPER, z as DEFAULT_WET_PARAMS, aC as DRY_EPS, aD as DabWalker, aE as EMPTY_MIXER_LOAD, aF as EX, aG as EY, aH as ExchangeRates, aI as FLAG_ALIVE, aJ as FLAG_BOTTOM, aK as FLAG_LEFT, aL as FLAG_RIGHT, aM as FLAG_TOP, aN as FLAG_WET, aO as FLAT, aP as FREE_INTERVAL, aQ as IDENTITY_CLONE_TRANSFORM, aR as MAX_BATCH, A as MAX_BRUSH_SIZE, aS as MAX_TILT_ACCEL, aT as MAX_WET_LANES, aU as MAX_WET_SLOTS, aV as MIXER_DRAIN, aW as MIXER_PICKUP_RATE, aX as MIXING_MODELS, a as MixerLoad, M as MixerSettings, c as MixerStroke, b as MixerTarget, k as MixingModel, aY as OPP, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, aZ as PAPER_CAPACITY, a_ as PARAM, a$ as PARAM_FLOATS, b0 as PIGMENT_CHANNELS, b1 as PLANE, b2 as PLANE_BYTES, b3 as P_D0, b4 as P_EDGE, b5 as P_FX, b6 as P_FY, b7 as P_H, b8 as P_P0, b9 as P_RHO, ba as P_SW, bb as P_UX, bc as P_UY, V as PaintColorSource, X as PaintDabParams, bd as PaintExchange, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, j as PaintGradientSource, a2 as PaintGradientSpace, a3 as PaintGradientStop, bf as PaintPixels, a4 as PaintRgb, a5 as PaintSourceError, h as PaintTileTarget, bh as PixelSource, bi as RETOUCH_SAMPLES, bj as RegionPixelSource, d as RetouchApply, bk as RetouchDabEffect, bl as RetouchDabStroke, f as RetouchPaint, bm as RetouchSample, R as RetouchSettings, bn as SET_PLANES, bo as SLOT_BYTES, bp as SLOT_PLANES, bq as SLOT_SIDE, br as SPOT_HEAL_TYPES, bs as STRIP, bt as SmudgeDab, m as SmudgeSettings, bu as SmudgeTip, bv as SpotHealType, i as StrokeApply, S as StrokeCoverage, e as StrokePoint, bw as TIP_GRADIENT_STEPS, bx as TONE_RANGES, T as TileMedium, by as TileMediumOptions, bz as TilePixelSource, bA as ToneRange, bB as TransformedPixelSource, bC as U_MAX, bD as W9, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, bE as WET_TILE, t as WetBackendInfo, bF as WetFlowField, a8 as WetFlowKind, p as WetFlowSpec, bG as WetGpuEngine, bH as WetGpuJob, s as WetGpuProvider, bI as WetGpuSupport, bJ as WetKernelKind, bK as WetLaneOptions, bL as WetLaneStats, bM as WetPaper, v as WetPaperInput, o as WetParams, u as WetSnapshot, a9 as WetSupport, n as WetTilt, bN as WetWorkerLayout, bO as WetWorkerPool, bP as WetWorldError, r as WetWorldOptions, aa as addPaintGradientStop, bQ as applyRetouchToTile, bR as applyStrokeToDeepTile, bS as applyStrokeToTile, bT as applyToneToDeepTile, bU as blendRadius, bV as blenderDab, bW as boxBlurPixels, bX as canShareMemory, bY as cleanMixer, bZ as cloneSamplePoint, b_ as coverageTileCoord, b$ as createBlenderScratch, c0 as createWetGpuEngine, c1 as dabCoverage, c2 as dabRect, c3 as dodgeBurn, c4 as dodgeBurnCurve, c5 as dsincos, c6 as edgeBits, c7 as exchangeRates, c8 as findWebGpu, c9 as flowField, ca as gradientDabColor, ab as hash2, cb as healPixels, ac as hexToPaintRgb, ad as isGradientPaint, cc as isIdentityCloneTransform, cd as latticeViscosity, ce as loadMixer, cf as loadWetKernel, cg as luma, ae as mix32, ch as mixerRates, ci as normalizeBlender, cj as normalizeBrush, af as normalizeFlow, ag as normalizeHexColor, ck as normalizeMixer, cl as normalizeRetouch, cm as normalizeSmudge, cn as normalizeTilt, ah as normalizeWetParams, co as packWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, cp as perDabStrength, cq as put255, am as rand01, cr as rasterizeDab, an as readPaintSource, cs as readSourceRegion, ao as removePaintGradientStop, ap as resolvePaintGradient, ct as retouchFilter, aq as reversePaintGradient, cu as rgbaViewOfGrey, cv as saturationOf, ar as scalePaintGradient, cw as smoothPoints, cx as smudgeEffect, as as solidPaint, cy as sponge, cz as spongeEffect, cA as spotHealPixels, cB as spotHealWindow, cC as tipFalloff, cD as tipReach, cE as tipShape, cF as toneOf, at as updatePaintGradientStop, cG as walkDabs, cH as wetGpuSupport, cI as wetSimdSupported, au as wetSupport } from '../rand-DOH_aMvm.cjs';
|
|
3
3
|
import { R as RasterRect, Y as Pigment, a as BlendMode, T as TiledSurface } from '../surface-1MRncXpF.cjs';
|
|
4
4
|
export { Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, a1 as PigmentOptions, a2 as PigmentRgb, a3 as createPigment, a4 as lerpPigment, a5 as lerpPigmentInto, a6 as mixPigments, a7 as reflectanceToRgb, a8 as rgbToReflectance, a9 as setPigmentColor } from '../surface-1MRncXpF.cjs';
|
|
5
5
|
import { A as AgentTool } from '../registry-BqA1AZt0.cjs';
|
package/dist/paint/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { be as PaintMedium, W as WetWorld, bg as PaintSample, q as RgbTriple, B as BrushSettings, P as PaintSource, g as CoverageMap, D as Dab } from '../rand-BszBST4s.js';
|
|
2
|
+
export { av as BlenderScratch, l as BlenderSettings, C as CloneTransform, aw as DEFAULT_BLENDER, ax as DEFAULT_BRUSH, w as DEFAULT_FLOW, ay as DEFAULT_MIXER, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, az as DEFAULT_RETOUCH, aA as DEFAULT_SMUDGE, aB as DEFAULT_WET_PAPER, z as DEFAULT_WET_PARAMS, aC as DRY_EPS, aD as DabWalker, aE as EMPTY_MIXER_LOAD, aF as EX, aG as EY, aH as ExchangeRates, aI as FLAG_ALIVE, aJ as FLAG_BOTTOM, aK as FLAG_LEFT, aL as FLAG_RIGHT, aM as FLAG_TOP, aN as FLAG_WET, aO as FLAT, aP as FREE_INTERVAL, aQ as IDENTITY_CLONE_TRANSFORM, aR as MAX_BATCH, A as MAX_BRUSH_SIZE, aS as MAX_TILT_ACCEL, aT as MAX_WET_LANES, aU as MAX_WET_SLOTS, aV as MIXER_DRAIN, aW as MIXER_PICKUP_RATE, aX as MIXING_MODELS, a as MixerLoad, M as MixerSettings, c as MixerStroke, b as MixerTarget, k as MixingModel, aY as OPP, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, aZ as PAPER_CAPACITY, a_ as PARAM, a$ as PARAM_FLOATS, b0 as PIGMENT_CHANNELS, b1 as PLANE, b2 as PLANE_BYTES, b3 as P_D0, b4 as P_EDGE, b5 as P_FX, b6 as P_FY, b7 as P_H, b8 as P_P0, b9 as P_RHO, ba as P_SW, bb as P_UX, bc as P_UY, V as PaintColorSource, X as PaintDabParams, bd as PaintExchange, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, j as PaintGradientSource, a2 as PaintGradientSpace, a3 as PaintGradientStop, bf as PaintPixels, a4 as PaintRgb, a5 as PaintSourceError, h as PaintTileTarget, bh as PixelSource, bi as RETOUCH_SAMPLES, bj as RegionPixelSource, d as RetouchApply, bk as RetouchDabEffect, bl as RetouchDabStroke, f as RetouchPaint, bm as RetouchSample, R as RetouchSettings, bn as SET_PLANES, bo as SLOT_BYTES, bp as SLOT_PLANES, bq as SLOT_SIDE, br as SPOT_HEAL_TYPES, bs as STRIP, bt as SmudgeDab, m as SmudgeSettings, bu as SmudgeTip, bv as SpotHealType, i as StrokeApply, S as StrokeCoverage, e as StrokePoint, bw as TIP_GRADIENT_STEPS, bx as TONE_RANGES, T as TileMedium, by as TileMediumOptions, bz as TilePixelSource, bA as ToneRange, bB as TransformedPixelSource, bC as U_MAX, bD as W9, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, bE as WET_TILE, t as WetBackendInfo, bF as WetFlowField, a8 as WetFlowKind, p as WetFlowSpec, bG as WetGpuEngine, bH as WetGpuJob, s as WetGpuProvider, bI as WetGpuSupport, bJ as WetKernelKind, bK as WetLaneOptions, bL as WetLaneStats, bM as WetPaper, v as WetPaperInput, o as WetParams, u as WetSnapshot, a9 as WetSupport, n as WetTilt, bN as WetWorkerLayout, bO as WetWorkerPool, bP as WetWorldError, r as WetWorldOptions, aa as addPaintGradientStop, bQ as applyRetouchToTile, bR as applyStrokeToDeepTile, bS as applyStrokeToTile, bT as applyToneToDeepTile, bU as blendRadius, bV as blenderDab, bW as boxBlurPixels, bX as canShareMemory, bY as cleanMixer, bZ as cloneSamplePoint, b_ as coverageTileCoord, b$ as createBlenderScratch, c0 as createWetGpuEngine, c1 as dabCoverage, c2 as dabRect, c3 as dodgeBurn, c4 as dodgeBurnCurve, c5 as dsincos, c6 as edgeBits, c7 as exchangeRates, c8 as findWebGpu, c9 as flowField, ca as gradientDabColor, ab as hash2, cb as healPixels, ac as hexToPaintRgb, ad as isGradientPaint, cc as isIdentityCloneTransform, cd as latticeViscosity, ce as loadMixer, cf as loadWetKernel, cg as luma, ae as mix32, ch as mixerRates, ci as normalizeBlender, cj as normalizeBrush, af as normalizeFlow, ag as normalizeHexColor, ck as normalizeMixer, cl as normalizeRetouch, cm as normalizeSmudge, cn as normalizeTilt, ah as normalizeWetParams, co as packWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, cp as perDabStrength, cq as put255, am as rand01, cr as rasterizeDab, an as readPaintSource, cs as readSourceRegion, ao as removePaintGradientStop, ap as resolvePaintGradient, ct as retouchFilter, aq as reversePaintGradient, cu as rgbaViewOfGrey, cv as saturationOf, ar as scalePaintGradient, cw as smoothPoints, cx as smudgeEffect, as as solidPaint, cy as sponge, cz as spongeEffect, cA as spotHealPixels, cB as spotHealWindow, cC as tipFalloff, cD as tipReach, cE as tipShape, cF as toneOf, at as updatePaintGradientStop, cG as walkDabs, cH as wetGpuSupport, cI as wetSimdSupported, au as wetSupport } from '../rand-BszBST4s.js';
|
|
3
3
|
import { R as RasterRect, Y as Pigment, a as BlendMode, T as TiledSurface } from '../surface-1MRncXpF.js';
|
|
4
4
|
export { Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, a1 as PigmentOptions, a2 as PigmentRgb, a3 as createPigment, a4 as lerpPigment, a5 as lerpPigmentInto, a6 as mixPigments, a7 as reflectanceToRgb, a8 as rgbToReflectance, a9 as setPigmentColor } from '../surface-1MRncXpF.js';
|
|
5
5
|
import { A as AgentTool } from '../registry-D-4fit9C.js';
|
package/dist/paint/index.js
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_RETOUCH,
|
|
3
|
+
IDENTITY_CLONE_TRANSFORM,
|
|
3
4
|
RETOUCH_SAMPLES,
|
|
4
5
|
RegionPixelSource,
|
|
5
6
|
RetouchDabStroke,
|
|
6
7
|
SPOT_HEAL_TYPES,
|
|
7
8
|
TONE_RANGES,
|
|
8
9
|
TilePixelSource,
|
|
10
|
+
TransformedPixelSource,
|
|
9
11
|
applyRetouchToTile,
|
|
10
12
|
applyToneToDeepTile,
|
|
11
13
|
bestOffset,
|
|
12
14
|
boxBlurPixels,
|
|
15
|
+
cloneSamplePoint,
|
|
13
16
|
contentAwareFill,
|
|
14
17
|
dilateMask,
|
|
15
18
|
dodgeBurn,
|
|
16
19
|
dodgeBurnCurve,
|
|
17
20
|
healPixels,
|
|
21
|
+
isIdentityCloneTransform,
|
|
18
22
|
luma,
|
|
19
23
|
maskBounds,
|
|
20
24
|
membraneFill,
|
|
@@ -32,7 +36,7 @@ import {
|
|
|
32
36
|
spotHealPixels,
|
|
33
37
|
spotHealWindow,
|
|
34
38
|
toneOf
|
|
35
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-ILYFOJUN.js";
|
|
36
40
|
import {
|
|
37
41
|
BrushstrokeCache,
|
|
38
42
|
brushstrokeDataUrl,
|
|
@@ -264,6 +268,7 @@ export {
|
|
|
264
268
|
FLAT,
|
|
265
269
|
FREE_INTERVAL,
|
|
266
270
|
HIDE,
|
|
271
|
+
IDENTITY_CLONE_TRANSFORM,
|
|
267
272
|
MAX_BATCH,
|
|
268
273
|
MAX_BRUSH_SIZE,
|
|
269
274
|
MAX_TILT_ACCEL,
|
|
@@ -326,6 +331,7 @@ export {
|
|
|
326
331
|
TONE_RANGES,
|
|
327
332
|
TileMedium,
|
|
328
333
|
TilePixelSource,
|
|
334
|
+
TransformedPixelSource,
|
|
329
335
|
U_MAX,
|
|
330
336
|
W9,
|
|
331
337
|
WET_FLOW_KINDS,
|
|
@@ -356,6 +362,7 @@ export {
|
|
|
356
362
|
brushstrokeToCanvas,
|
|
357
363
|
canShareMemory,
|
|
358
364
|
cleanMixer,
|
|
365
|
+
cloneSamplePoint,
|
|
359
366
|
contentAwareFill,
|
|
360
367
|
coverageTileCoord,
|
|
361
368
|
createBlenderScratch,
|
|
@@ -384,6 +391,7 @@ export {
|
|
|
384
391
|
hexToPaintRgb,
|
|
385
392
|
isBrushstrokeBrush,
|
|
386
393
|
isGradientPaint,
|
|
394
|
+
isIdentityCloneTransform,
|
|
387
395
|
latticeViscosity,
|
|
388
396
|
lerpPigment,
|
|
389
397
|
lerpPigmentInto,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a1 as RasterLayer, a0 as RasterGroupLayer, a5 as RasterPixelLayer, C as CompositorLayer, a as RasterCompositor, R as RasterSources, U as LayerLocks } from '../deep-CcwHkQdb.cjs';
|
|
2
|
-
import { D as Dab,
|
|
3
|
-
export {
|
|
2
|
+
import { D as Dab, g as CoverageMap, B as BrushSettings, e as StrokePoint, h as PaintTileTarget, j as PaintGradientSource, T as TileMedium, M as MixerSettings, k as MixingModel, l as BlenderSettings, m as SmudgeSettings, P as PaintSource, a as MixerLoad, W as WetWorld, n as WetTilt, o as WetParams, p as WetFlowSpec, q as RgbTriple, r as WetWorldOptions, s as WetGpuProvider, t as WetBackendInfo, u as WetSnapshot, v as WetPaperInput } from '../rand-DOH_aMvm.cjs';
|
|
3
|
+
export { w as DEFAULT_FLOW, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, z as DEFAULT_WET_PARAMS, A as MAX_BRUSH_SIZE, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, V as PaintColorSource, X as PaintDabParams, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, a2 as PaintGradientSpace, a3 as PaintGradientStop, a4 as PaintRgb, a5 as PaintSourceError, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, a8 as WetFlowKind, a9 as WetSupport, aa as addPaintGradientStop, ab as hash2, ac as hexToPaintRgb, ad as isGradientPaint, ae as mix32, af as normalizeFlow, ag as normalizeHexColor, ah as normalizeWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, am as rand01, an as readPaintSource, ao as removePaintGradientStop, ap as resolvePaintGradient, aq as reversePaintGradient, ar as scalePaintGradient, as as solidPaint, at as updatePaintGradientStop, au as wetSupport } from '../rand-DOH_aMvm.cjs';
|
|
4
4
|
import { R as RasterRect, T as TiledSurface, a as BlendMode, b as BlendModeInfo } from '../surface-1MRncXpF.cjs';
|
|
5
5
|
export { B as BLEND_MODES, P as PAINTERLY_BLEND_MODES, i as Tile, v as isBlendMode, w as isPainterlyBlendMode, I as standardBlendMode } from '../surface-1MRncXpF.cjs';
|
|
6
6
|
import { e as EffectValue, E as EffectProvider, f as EffectDescription, a as EffectRenderRequest, b as EffectPixels, v as EffectsSlot } from '../helpers-DHl28yLO.cjs';
|
|
7
|
-
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-
|
|
7
|
+
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-AZSwX087.cjs';
|
|
8
8
|
import { V as VideoProject, D as VideoFfmpegExport } from '../export-KzubBKo7.cjs';
|
|
9
9
|
import { g as PresenceStore, e as PresenceClock, d as PresenceActorInfo, c as PresenceActor, f as PresenceState } from '../presence-Cb6WhcrQ.cjs';
|
|
10
10
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-BqA1AZt0.cjs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a1 as RasterLayer, a0 as RasterGroupLayer, a5 as RasterPixelLayer, C as CompositorLayer, a as RasterCompositor, R as RasterSources, U as LayerLocks } from '../deep-wwJa7aR6.js';
|
|
2
|
-
import { D as Dab,
|
|
3
|
-
export {
|
|
2
|
+
import { D as Dab, g as CoverageMap, B as BrushSettings, e as StrokePoint, h as PaintTileTarget, j as PaintGradientSource, T as TileMedium, M as MixerSettings, k as MixingModel, l as BlenderSettings, m as SmudgeSettings, P as PaintSource, a as MixerLoad, W as WetWorld, n as WetTilt, o as WetParams, p as WetFlowSpec, q as RgbTriple, r as WetWorldOptions, s as WetGpuProvider, t as WetBackendInfo, u as WetSnapshot, v as WetPaperInput } from '../rand-BszBST4s.js';
|
|
3
|
+
export { w as DEFAULT_FLOW, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, z as DEFAULT_WET_PARAMS, A as MAX_BRUSH_SIZE, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, V as PaintColorSource, X as PaintDabParams, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, a2 as PaintGradientSpace, a3 as PaintGradientStop, a4 as PaintRgb, a5 as PaintSourceError, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, a8 as WetFlowKind, a9 as WetSupport, aa as addPaintGradientStop, ab as hash2, ac as hexToPaintRgb, ad as isGradientPaint, ae as mix32, af as normalizeFlow, ag as normalizeHexColor, ah as normalizeWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, am as rand01, an as readPaintSource, ao as removePaintGradientStop, ap as resolvePaintGradient, aq as reversePaintGradient, ar as scalePaintGradient, as as solidPaint, at as updatePaintGradientStop, au as wetSupport } from '../rand-BszBST4s.js';
|
|
4
4
|
import { R as RasterRect, T as TiledSurface, a as BlendMode, b as BlendModeInfo } from '../surface-1MRncXpF.js';
|
|
5
5
|
export { B as BLEND_MODES, P as PAINTERLY_BLEND_MODES, i as Tile, v as isBlendMode, w as isPainterlyBlendMode, I as standardBlendMode } from '../surface-1MRncXpF.js';
|
|
6
6
|
import { e as EffectValue, E as EffectProvider, f as EffectDescription, a as EffectRenderRequest, b as EffectPixels, v as EffectsSlot } from '../helpers-Coa4e2j_.js';
|
|
7
|
-
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-
|
|
7
|
+
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-BDkyDNM8.js';
|
|
8
8
|
import { V as VideoProject, D as VideoFfmpegExport } from '../export-DMeG6E06.js';
|
|
9
9
|
import { g as PresenceStore, e as PresenceClock, d as PresenceActorInfo, c as PresenceActor, f as PresenceState } from '../presence-Cb6WhcrQ.js';
|
|
10
10
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-D-4fit9C.js';
|
|
@@ -1115,6 +1115,36 @@ interface PixelSource {
|
|
|
1115
1115
|
/** Straight RGBA 0..255 of document pixel (x, y) into `out`; false (and `out` zeroed) where there is nothing. */
|
|
1116
1116
|
sample(x: number, y: number, out: number[]): boolean;
|
|
1117
1117
|
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Photoshop's Clone Source transform: the cloned pixels appear scaled by `scaleX` / `scaleY`
|
|
1120
|
+
* (negative flips) and rotated by `rotate` degrees (clockwise) about the stroke's start.
|
|
1121
|
+
*/
|
|
1122
|
+
interface CloneTransform {
|
|
1123
|
+
scaleX: number;
|
|
1124
|
+
scaleY: number;
|
|
1125
|
+
rotate: number;
|
|
1126
|
+
}
|
|
1127
|
+
declare const IDENTITY_CLONE_TRANSFORM: CloneTransform;
|
|
1128
|
+
declare function isIdentityCloneTransform(t: CloneTransform): boolean;
|
|
1129
|
+
/**
|
|
1130
|
+
* Where a clone samples for target point (`x`, `y`): `source + M⁻¹ · (p − anchor)`, with `M` the
|
|
1131
|
+
* transform (scale then rotate) and `anchor` the target point that maps onto the source point.
|
|
1132
|
+
*/
|
|
1133
|
+
declare function cloneSamplePoint(t: CloneTransform, source: {
|
|
1134
|
+
x: number;
|
|
1135
|
+
y: number;
|
|
1136
|
+
}, anchor: {
|
|
1137
|
+
x: number;
|
|
1138
|
+
y: number;
|
|
1139
|
+
}, x: number, y: number): [number, number];
|
|
1140
|
+
/** A source seen through a map from document points to source points (bilinear, premultiplied). */
|
|
1141
|
+
declare class TransformedPixelSource implements PixelSource {
|
|
1142
|
+
private readonly inner;
|
|
1143
|
+
private readonly map;
|
|
1144
|
+
private readonly px;
|
|
1145
|
+
constructor(inner: PixelSource, map: (x: number, y: number) => [number, number]);
|
|
1146
|
+
sample(x: number, y: number, out: number[]): boolean;
|
|
1147
|
+
}
|
|
1118
1148
|
/**
|
|
1119
1149
|
* A source over raster tiles (layer pixels, a mask, or composite tiles): `readTile` gives tile
|
|
1120
1150
|
* (tx, ty) in source space or `null` when it is empty; source pixel = document pixel − `offset`.
|
|
@@ -2107,4 +2137,4 @@ declare function hash2(x: number, y: number, salt: number): number;
|
|
|
2107
2137
|
/** Uniform in [0, 1) from a seed, an index and a stream (one stream per random quantity). */
|
|
2108
2138
|
declare function rand01(seed: number, index: number, stream: number): number;
|
|
2109
2139
|
|
|
2110
|
-
export { type
|
|
2140
|
+
export { type PaintGradientRepeat as $, MAX_BRUSH_SIZE as A, type BrushSettings as B, type CloneTransform as C, type Dab as D, PAINT_COLOR_JSON_SCHEMA as E, PAINT_GRADIENT_FULL_SPEED as F, PAINT_GRADIENT_JSON_SCHEMA as G, PAINT_GRADIENT_KIT as H, PAINT_GRADIENT_MAPPINGS as I, PAINT_GRADIENT_MAPPING_LABELS as J, PAINT_GRADIENT_PRESETS as K, PAINT_GRADIENT_REPEATS as L, type MixerSettings as M, PAINT_GRADIENT_REPEAT_LABELS as N, PAINT_GRADIENT_SPACES as O, type PaintSource as P, PAINT_GRADIENT_SPACE_LABELS as Q, type RetouchSettings as R, StrokeCoverage as S, TileMedium as T, PAINT_SOURCE_JSON_SCHEMA as U, type PaintColorSource as V, WetWorld as W, type PaintDabParams as X, type PaintGradientKit as Y, type PaintGradientMapping as Z, type PaintGradientMappingKind as _, type MixerLoad as a, PARAM_FLOATS as a$, type PaintGradientSample as a0, PaintGradientSampler as a1, type PaintGradientSpace as a2, type PaintGradientStop as a3, type PaintRgb as a4, PaintSourceError as a5, WET_FLOW_KINDS as a6, WET_PARAM_KEYS as a7, type WetFlowKind as a8, type WetSupport as a9, DEFAULT_SMUDGE as aA, DEFAULT_WET_PAPER as aB, DRY_EPS as aC, DabWalker as aD, EMPTY_MIXER_LOAD as aE, EX as aF, EY as aG, type ExchangeRates as aH, FLAG_ALIVE as aI, FLAG_BOTTOM as aJ, FLAG_LEFT as aK, FLAG_RIGHT as aL, FLAG_TOP as aM, FLAG_WET as aN, FLAT as aO, FREE_INTERVAL as aP, IDENTITY_CLONE_TRANSFORM as aQ, MAX_BATCH as aR, MAX_TILT_ACCEL as aS, MAX_WET_LANES as aT, MAX_WET_SLOTS as aU, MIXER_DRAIN as aV, MIXER_PICKUP_RATE as aW, MIXING_MODELS as aX, OPP as aY, PAPER_CAPACITY as aZ, PARAM as a_, addPaintGradientStop as aa, hash2 as ab, hexToPaintRgb as ac, isGradientPaint as ad, mix32 as ae, normalizeFlow as af, normalizeHexColor as ag, normalizeWetParams as ah, paintGradientMappingFor as ai, paintSourceColor as aj, paintSourceCss as ak, parsePaintSource as al, rand01 as am, readPaintSource as an, removePaintGradientStop as ao, resolvePaintGradient as ap, reversePaintGradient as aq, scalePaintGradient as ar, solidPaint as as, updatePaintGradientStop as at, wetSupport as au, type BlenderScratch as av, DEFAULT_BLENDER as aw, DEFAULT_BRUSH as ax, DEFAULT_MIXER as ay, DEFAULT_RETOUCH as az, type MixerTarget as b, createBlenderScratch as b$, PIGMENT_CHANNELS as b0, PLANE as b1, PLANE_BYTES as b2, P_D0 as b3, P_EDGE as b4, P_FX as b5, P_FY as b6, P_H as b7, P_P0 as b8, P_RHO as b9, type ToneRange as bA, TransformedPixelSource as bB, U_MAX as bC, W9 as bD, WET_TILE as bE, type WetFlowField as bF, WetGpuEngine as bG, type WetGpuJob as bH, type WetGpuSupport as bI, type WetKernelKind as bJ, type WetLaneOptions as bK, type WetLaneStats as bL, type WetPaper as bM, type WetWorkerLayout as bN, WetWorkerPool as bO, WetWorldError as bP, applyRetouchToTile as bQ, applyStrokeToDeepTile as bR, applyStrokeToTile as bS, applyToneToDeepTile as bT, blendRadius as bU, blenderDab as bV, boxBlurPixels as bW, canShareMemory as bX, cleanMixer as bY, cloneSamplePoint as bZ, coverageTileCoord as b_, P_SW as ba, P_UX as bb, P_UY as bc, PaintExchange as bd, type PaintMedium as be, type PaintPixels as bf, type PaintSample as bg, type PixelSource as bh, RETOUCH_SAMPLES as bi, RegionPixelSource as bj, type RetouchDabEffect as bk, RetouchDabStroke as bl, type RetouchSample as bm, SET_PLANES as bn, SLOT_BYTES as bo, SLOT_PLANES as bp, SLOT_SIDE as bq, SPOT_HEAL_TYPES as br, STRIP as bs, type SmudgeDab as bt, SmudgeTip as bu, type SpotHealType as bv, TIP_GRADIENT_STEPS as bw, TONE_RANGES as bx, type TileMediumOptions as by, TilePixelSource as bz, MixerStroke as c, createWetGpuEngine as c0, dabCoverage as c1, dabRect as c2, dodgeBurn as c3, dodgeBurnCurve as c4, dsincos as c5, edgeBits as c6, exchangeRates as c7, findWebGpu as c8, flowField as c9, spotHealPixels as cA, spotHealWindow as cB, tipFalloff as cC, tipReach as cD, tipShape as cE, toneOf as cF, walkDabs as cG, wetGpuSupport as cH, wetSimdSupported as cI, gradientDabColor as ca, healPixels as cb, isIdentityCloneTransform as cc, latticeViscosity as cd, loadMixer as ce, loadWetKernel as cf, luma as cg, mixerRates as ch, normalizeBlender as ci, normalizeBrush as cj, normalizeMixer as ck, normalizeRetouch as cl, normalizeSmudge as cm, normalizeTilt as cn, packWetParams as co, perDabStrength as cp, put255 as cq, rasterizeDab as cr, readSourceRegion as cs, retouchFilter as ct, rgbaViewOfGrey as cu, saturationOf as cv, smoothPoints as cw, smudgeEffect as cx, sponge as cy, spongeEffect as cz, type RetouchApply as d, type StrokePoint as e, type RetouchPaint as f, CoverageMap as g, type PaintTileTarget as h, type StrokeApply as i, type PaintGradientSource as j, type MixingModel as k, type BlenderSettings as l, type SmudgeSettings as m, type WetTilt as n, type WetParams as o, type WetFlowSpec as p, type RgbTriple as q, type WetWorldOptions as r, type WetGpuProvider as s, type WetBackendInfo as t, type WetSnapshot as u, type WetPaperInput as v, DEFAULT_FLOW as w, DEFAULT_PAINT_GRADIENT as x, DEFAULT_PAINT_GRADIENT_MAPPING as y, DEFAULT_WET_PARAMS as z };
|
|
@@ -1115,6 +1115,36 @@ interface PixelSource {
|
|
|
1115
1115
|
/** Straight RGBA 0..255 of document pixel (x, y) into `out`; false (and `out` zeroed) where there is nothing. */
|
|
1116
1116
|
sample(x: number, y: number, out: number[]): boolean;
|
|
1117
1117
|
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Photoshop's Clone Source transform: the cloned pixels appear scaled by `scaleX` / `scaleY`
|
|
1120
|
+
* (negative flips) and rotated by `rotate` degrees (clockwise) about the stroke's start.
|
|
1121
|
+
*/
|
|
1122
|
+
interface CloneTransform {
|
|
1123
|
+
scaleX: number;
|
|
1124
|
+
scaleY: number;
|
|
1125
|
+
rotate: number;
|
|
1126
|
+
}
|
|
1127
|
+
declare const IDENTITY_CLONE_TRANSFORM: CloneTransform;
|
|
1128
|
+
declare function isIdentityCloneTransform(t: CloneTransform): boolean;
|
|
1129
|
+
/**
|
|
1130
|
+
* Where a clone samples for target point (`x`, `y`): `source + M⁻¹ · (p − anchor)`, with `M` the
|
|
1131
|
+
* transform (scale then rotate) and `anchor` the target point that maps onto the source point.
|
|
1132
|
+
*/
|
|
1133
|
+
declare function cloneSamplePoint(t: CloneTransform, source: {
|
|
1134
|
+
x: number;
|
|
1135
|
+
y: number;
|
|
1136
|
+
}, anchor: {
|
|
1137
|
+
x: number;
|
|
1138
|
+
y: number;
|
|
1139
|
+
}, x: number, y: number): [number, number];
|
|
1140
|
+
/** A source seen through a map from document points to source points (bilinear, premultiplied). */
|
|
1141
|
+
declare class TransformedPixelSource implements PixelSource {
|
|
1142
|
+
private readonly inner;
|
|
1143
|
+
private readonly map;
|
|
1144
|
+
private readonly px;
|
|
1145
|
+
constructor(inner: PixelSource, map: (x: number, y: number) => [number, number]);
|
|
1146
|
+
sample(x: number, y: number, out: number[]): boolean;
|
|
1147
|
+
}
|
|
1118
1148
|
/**
|
|
1119
1149
|
* A source over raster tiles (layer pixels, a mask, or composite tiles): `readTile` gives tile
|
|
1120
1150
|
* (tx, ty) in source space or `null` when it is empty; source pixel = document pixel − `offset`.
|
|
@@ -2107,4 +2137,4 @@ declare function hash2(x: number, y: number, salt: number): number;
|
|
|
2107
2137
|
/** Uniform in [0, 1) from a seed, an index and a stream (one stream per random quantity). */
|
|
2108
2138
|
declare function rand01(seed: number, index: number, stream: number): number;
|
|
2109
2139
|
|
|
2110
|
-
export { type
|
|
2140
|
+
export { type PaintGradientRepeat as $, MAX_BRUSH_SIZE as A, type BrushSettings as B, type CloneTransform as C, type Dab as D, PAINT_COLOR_JSON_SCHEMA as E, PAINT_GRADIENT_FULL_SPEED as F, PAINT_GRADIENT_JSON_SCHEMA as G, PAINT_GRADIENT_KIT as H, PAINT_GRADIENT_MAPPINGS as I, PAINT_GRADIENT_MAPPING_LABELS as J, PAINT_GRADIENT_PRESETS as K, PAINT_GRADIENT_REPEATS as L, type MixerSettings as M, PAINT_GRADIENT_REPEAT_LABELS as N, PAINT_GRADIENT_SPACES as O, type PaintSource as P, PAINT_GRADIENT_SPACE_LABELS as Q, type RetouchSettings as R, StrokeCoverage as S, TileMedium as T, PAINT_SOURCE_JSON_SCHEMA as U, type PaintColorSource as V, WetWorld as W, type PaintDabParams as X, type PaintGradientKit as Y, type PaintGradientMapping as Z, type PaintGradientMappingKind as _, type MixerLoad as a, PARAM_FLOATS as a$, type PaintGradientSample as a0, PaintGradientSampler as a1, type PaintGradientSpace as a2, type PaintGradientStop as a3, type PaintRgb as a4, PaintSourceError as a5, WET_FLOW_KINDS as a6, WET_PARAM_KEYS as a7, type WetFlowKind as a8, type WetSupport as a9, DEFAULT_SMUDGE as aA, DEFAULT_WET_PAPER as aB, DRY_EPS as aC, DabWalker as aD, EMPTY_MIXER_LOAD as aE, EX as aF, EY as aG, type ExchangeRates as aH, FLAG_ALIVE as aI, FLAG_BOTTOM as aJ, FLAG_LEFT as aK, FLAG_RIGHT as aL, FLAG_TOP as aM, FLAG_WET as aN, FLAT as aO, FREE_INTERVAL as aP, IDENTITY_CLONE_TRANSFORM as aQ, MAX_BATCH as aR, MAX_TILT_ACCEL as aS, MAX_WET_LANES as aT, MAX_WET_SLOTS as aU, MIXER_DRAIN as aV, MIXER_PICKUP_RATE as aW, MIXING_MODELS as aX, OPP as aY, PAPER_CAPACITY as aZ, PARAM as a_, addPaintGradientStop as aa, hash2 as ab, hexToPaintRgb as ac, isGradientPaint as ad, mix32 as ae, normalizeFlow as af, normalizeHexColor as ag, normalizeWetParams as ah, paintGradientMappingFor as ai, paintSourceColor as aj, paintSourceCss as ak, parsePaintSource as al, rand01 as am, readPaintSource as an, removePaintGradientStop as ao, resolvePaintGradient as ap, reversePaintGradient as aq, scalePaintGradient as ar, solidPaint as as, updatePaintGradientStop as at, wetSupport as au, type BlenderScratch as av, DEFAULT_BLENDER as aw, DEFAULT_BRUSH as ax, DEFAULT_MIXER as ay, DEFAULT_RETOUCH as az, type MixerTarget as b, createBlenderScratch as b$, PIGMENT_CHANNELS as b0, PLANE as b1, PLANE_BYTES as b2, P_D0 as b3, P_EDGE as b4, P_FX as b5, P_FY as b6, P_H as b7, P_P0 as b8, P_RHO as b9, type ToneRange as bA, TransformedPixelSource as bB, U_MAX as bC, W9 as bD, WET_TILE as bE, type WetFlowField as bF, WetGpuEngine as bG, type WetGpuJob as bH, type WetGpuSupport as bI, type WetKernelKind as bJ, type WetLaneOptions as bK, type WetLaneStats as bL, type WetPaper as bM, type WetWorkerLayout as bN, WetWorkerPool as bO, WetWorldError as bP, applyRetouchToTile as bQ, applyStrokeToDeepTile as bR, applyStrokeToTile as bS, applyToneToDeepTile as bT, blendRadius as bU, blenderDab as bV, boxBlurPixels as bW, canShareMemory as bX, cleanMixer as bY, cloneSamplePoint as bZ, coverageTileCoord as b_, P_SW as ba, P_UX as bb, P_UY as bc, PaintExchange as bd, type PaintMedium as be, type PaintPixels as bf, type PaintSample as bg, type PixelSource as bh, RETOUCH_SAMPLES as bi, RegionPixelSource as bj, type RetouchDabEffect as bk, RetouchDabStroke as bl, type RetouchSample as bm, SET_PLANES as bn, SLOT_BYTES as bo, SLOT_PLANES as bp, SLOT_SIDE as bq, SPOT_HEAL_TYPES as br, STRIP as bs, type SmudgeDab as bt, SmudgeTip as bu, type SpotHealType as bv, TIP_GRADIENT_STEPS as bw, TONE_RANGES as bx, type TileMediumOptions as by, TilePixelSource as bz, MixerStroke as c, createWetGpuEngine as c0, dabCoverage as c1, dabRect as c2, dodgeBurn as c3, dodgeBurnCurve as c4, dsincos as c5, edgeBits as c6, exchangeRates as c7, findWebGpu as c8, flowField as c9, spotHealPixels as cA, spotHealWindow as cB, tipFalloff as cC, tipReach as cD, tipShape as cE, toneOf as cF, walkDabs as cG, wetGpuSupport as cH, wetSimdSupported as cI, gradientDabColor as ca, healPixels as cb, isIdentityCloneTransform as cc, latticeViscosity as cd, loadMixer as ce, loadWetKernel as cf, luma as cg, mixerRates as ch, normalizeBlender as ci, normalizeBrush as cj, normalizeMixer as ck, normalizeRetouch as cl, normalizeSmudge as cm, normalizeTilt as cn, packWetParams as co, perDabStrength as cp, put255 as cq, rasterizeDab as cr, readSourceRegion as cs, retouchFilter as ct, rgbaViewOfGrey as cu, saturationOf as cv, smoothPoints as cw, smudgeEffect as cx, sponge as cy, spongeEffect as cz, type RetouchApply as d, type StrokePoint as e, type RetouchPaint as f, CoverageMap as g, type PaintTileTarget as h, type StrokeApply as i, type PaintGradientSource as j, type MixingModel as k, type BlenderSettings as l, type SmudgeSettings as m, type WetTilt as n, type WetParams as o, type WetFlowSpec as p, type RgbTriple as q, type WetWorldOptions as r, type WetGpuProvider as s, type WetBackendInfo as t, type WetSnapshot as u, type WetPaperInput as v, DEFAULT_FLOW as w, DEFAULT_PAINT_GRADIENT as x, DEFAULT_PAINT_GRADIENT_MAPPING as y, DEFAULT_WET_PARAMS as z };
|
package/package.json
CHANGED
|
@@ -194,10 +194,9 @@ and colour conversions for print briefs: read [references/color-management.md](r
|
|
|
194
194
|
### Retouching
|
|
195
195
|
|
|
196
196
|
Clone Stamp, Healing Brush, Spot Healing, Smudge, Dodge, Burn, Sponge, Blur, Sharpen and the
|
|
197
|
-
History Brush: retouch on an empty
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
[references/retouching.md](references/retouching.md) before retouching.
|
|
197
|
+
History Brush: retouch on an empty layer with `sample: "current-below"`, pick `spot_heal` for small
|
|
198
|
+
spots, `heal_brush` for larger flaws and `clone_stamp` to copy exactly (`set_clone_transform` scales,
|
|
199
|
+
rotates or flips the source), and keep strokes short and soft. Read [references/retouching.md](references/retouching.md) first.
|
|
201
200
|
|
|
202
201
|
### Photoshop files
|
|
203
202
|
|
|
@@ -403,6 +402,7 @@ in the source frame at the document's bit depth, colour mode and profile. Read
|
|
|
403
402
|
| `get_retouch_options` | Read-only. The retouching defaults (`aligned`, `sample`, `spotType`, `range`, `exposure`, `protectTones`, `spongeMode`, `vibrance`, `strength`, `historySteps`) and the `cloneSource` `{x, y, offset}` or null (an aligned stroke samples at the brush plus `offset`; the editors show it as a crosshair). Call before a clone or heal stroke without `source`. |
|
|
404
403
|
| `set_retouch_options` | Set those defaults (view state, not an undo step); each stroke tool can override them per call. Changing `aligned` clears the kept offset. Returns the options. |
|
|
405
404
|
| `set_clone_source` | Set the clone source `{x, y}` in document px (the Alt-click), or remove it with `clear: true`. View state. The next `clone_stamp` / `heal_brush` fixes the offset from its first point. Returns the source. |
|
|
405
|
+
| `set_clone_transform` | The Clone Source panel: clone and heal strokes lay the source scaled (`scaleX` / `scaleY` in %, negative or `flipHorizontal` / `flipVertical` to mirror) and rotated (`rotate`°) about the stroke start; `reset: true` for 100 %, 0°. View state. Returns `{scaleX, scaleY, rotate}`. Use it for a reflection, a smaller copy or a tilted patch; read it back with `get_retouch_options`. |
|
|
406
406
|
| `fill_pixels` | Fill the selection (or the canvas without one / with `useSelection: false`) on pixels or a mask with `color`, `opacity`, `blend`. Returns the changed bounds. |
|
|
407
407
|
| `mix_colors` | Read-only. Mix 1 to 16 `colors` (`{color: #rrggbb, weight, strength?}`) like paint (Kubelka-Munk over reflectance spectra). Returns `mixed` (#rrggbb), `rgbLerp` (the plain RGB average, for comparison) and the normalised `weights`. Call it before `paint_stroke` / `fill_pixels` to pick a paint colour. |
|
|
408
408
|
| `clear_pixels` | Remove the selected pixels (alpha to 0; a transparency-locked layer or a mask gets the background colour). Returns the changed bounds. |
|
|
@@ -401,12 +401,17 @@ contents whole while you work, without losing the mask.
|
|
|
401
401
|
| `vector.cut` | Scissors: cut `nodeId` at the outline point nearest `x`, `y`, or cut at `anchors`. A closed path opens; an open one splits in two. Returns the ids. |
|
|
402
402
|
| `vector.knife` | Cut closed paths along a polyline `points` (at least two `[x, y]`) wherever it crosses them edge to edge, leaving no gap. Cuts `ids`, else the selection, else every path crossed. Returns the pieces. |
|
|
403
403
|
| `vector.erase` | Erase along a polyline `points` with a round eraser of diameter `size` (default the eraser setting, 10): fills lose the area, outlines are cut. Returns the changed ids. |
|
|
404
|
+
| `vector.smudgeBrush` | Push outlines along a stroke `points` (two or more) with a soft round brush (`radius`, `strength` 0–1): drips, tentacles, organic lobes. Returns `{ ids }`. |
|
|
405
|
+
| `vector.twirlBrush` | Twirl outlines about each point by `angle` degrees (default 15) at the brush centre: swirls, curls. |
|
|
406
|
+
| `vector.attractBrush` | Pinch outlines toward each point. |
|
|
407
|
+
| `vector.repelBrush` | Bloat outlines away from each point. |
|
|
408
|
+
| `vector.roughenBrush` | Spike the outlines under the brush (`seed` for repeatable spikes): fur, grass, torn paper. |
|
|
404
409
|
|
|
405
410
|
### Editor settings
|
|
406
411
|
|
|
407
412
|
| Command | Use it to |
|
|
408
413
|
| --- | --- |
|
|
409
|
-
| `vector.setEditing` | Set editing behaviour: `keepShapeOnDelete`, `curvatureMoves`, `pencilSmoothing` (0 to 1), `recognizeShapes`, `eraserSize`, `pencilPressure` (pen, all, off). Returns the settings. |
|
|
414
|
+
| `vector.setEditing` | Set editing behaviour: `keepShapeOnDelete`, `curvatureMoves`, `pencilSmoothing` (0 to 1), `recognizeShapes`, `eraserSize`, `distortMode` / `distortSize` / `distortStrength` (the Distort Brush tool the user drags), `pencilPressure` (pen, all, off). Returns the settings. |
|
|
410
415
|
| `vector.getSnapOptions` | Read how drawing snaps for people at the pointer: grid, objects, guides, threshold, polar `angles`, object snap `tracking`, `trackPolar`, `polarRelative`. |
|
|
411
416
|
| `vector.setSnapOptions` | Set those options, e.g. `polarIncrement: 15` for 15° polar tracking, or a grid, before handing the canvas to the user. Moves nothing. Returns the options. |
|
|
412
417
|
| `vector.setTool` | Switch the interactive tool (select, direct, pen, pencil, rect, ellipse, polygon, star, line, scissors, knife, eraser, width, shapeBuilder, paintBucket, blend, gradient, envelope, type, typePath, frame, connector). Only for handing the canvas to the user in a given mode; commands do not need a tool. |
|