@pixerate/editor 0.162.0 → 0.162.1
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/animation-editor/index.cjs +57 -57
- package/dist/animation-editor/index.js +3 -3
- package/dist/{brushstrokeRender-Q4LI22QV.js → brushstrokeRender-7LXCU7PD.js} +2 -2
- package/dist/{brushstrokeRender-5WANQIG4.cjs → brushstrokeRender-VO4ZTWVA.cjs} +5 -5
- package/dist/canvas/index.cjs +8 -8
- package/dist/canvas/index.js +1 -1
- package/dist/{chunk-LQLZHP6F.js → chunk-36OKQDCF.js} +7 -4
- package/dist/{chunk-GWV4T5NZ.js → chunk-3VLOOO3G.js} +1 -1
- package/dist/{chunk-3GJH2MGH.cjs → chunk-5AARIS3R.cjs} +35 -35
- package/dist/{chunk-236TKNUR.cjs → chunk-JCXMJUQO.cjs} +2 -2
- package/dist/{chunk-32MMQYCQ.cjs → chunk-PA3IMPPS.cjs} +81 -81
- package/dist/{chunk-KGTF55R3.js → chunk-QY4KUDMY.js} +1 -1
- package/dist/{chunk-2TKHLX6H.js → chunk-SET6KJOP.js} +1 -1
- package/dist/{chunk-GNK7SESQ.cjs → chunk-V7GWZIZK.cjs} +7 -4
- package/dist/{chunk-EYVVIZJ3.cjs → chunk-WTW7QRTS.cjs} +1 -1
- package/dist/{chunk-JGKCC5OF.cjs → chunk-YQ5C5BVK.cjs} +10 -9
- package/dist/{chunk-A5UCR2TO.js → chunk-YXKLVD56.js} +10 -9
- package/dist/{chunk-45XXVHVG.js → chunk-ZZGPYNS2.js} +1 -1
- package/dist/image-editor/index.cjs +638 -638
- package/dist/image-editor/index.js +4 -4
- package/dist/paint/index.cjs +2 -2
- package/dist/paint/index.js +1 -1
- package/dist/paint-editor/index.cjs +129 -129
- package/dist/paint-editor/index.js +5 -5
- package/dist/vector/index.cjs +948 -948
- package/dist/vector/index.js +3 -3
- package/package.json +3 -3
- package/skills/pixerate-chart/SKILL.md +92 -9
- package/skills/pixerate-paint-editor/SKILL.md +0 -2
|
@@ -1457,8 +1457,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1457
1457
|
engine: "wet",
|
|
1458
1458
|
tip: { size: 28, hardness: 0.6, spacing: 0.12, opacity: 1, flow: 1, smoothing: 0.25, pressureSize: true, pressureOpacity: true },
|
|
1459
1459
|
dynamics: { minSize: 0.35 },
|
|
1460
|
-
behavior: { pickup: 0.
|
|
1461
|
-
wet: { tool: "paint", water: 0.55, pigment: 0.5, body: 0 }
|
|
1460
|
+
behavior: { pickup: 0.55, mix: 0.5, mixing: "pigment" },
|
|
1461
|
+
wet: { tool: "paint", water: 0.55, pigment: 0.5, body: 0, rewet: 0.2 }
|
|
1462
1462
|
}),
|
|
1463
1463
|
builtin({
|
|
1464
1464
|
id: "watercolor-wash",
|
|
@@ -1467,8 +1467,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1467
1467
|
engine: "wet",
|
|
1468
1468
|
rotation: "stroke",
|
|
1469
1469
|
tip: { size: 90, hardness: 0.35, spacing: 0.1, angle: 90, roundness: 0.45, opacity: 1, flow: 1, smoothing: 0.3, pressureSize: false, pressureOpacity: true },
|
|
1470
|
-
behavior: { pickup: 0.
|
|
1471
|
-
wet: { tool: "paint", water: 0.8, pigment: 0.45, body: 0 }
|
|
1470
|
+
behavior: { pickup: 0.45, mix: 0.45, mixing: "pigment" },
|
|
1471
|
+
wet: { tool: "paint", water: 0.8, pigment: 0.45, body: 0, rewet: 0.2 }
|
|
1472
1472
|
}),
|
|
1473
1473
|
builtin({
|
|
1474
1474
|
id: "gradient-wash",
|
|
@@ -1477,8 +1477,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1477
1477
|
engine: "wet",
|
|
1478
1478
|
rotation: "stroke",
|
|
1479
1479
|
tip: { size: 80, hardness: 0.35, spacing: 0.1, angle: 90, roundness: 0.5, opacity: 1, flow: 1, smoothing: 0.3, pressureSize: false, pressureOpacity: true },
|
|
1480
|
-
behavior: { pickup: 0.
|
|
1481
|
-
wet: { tool: "paint", water: 0.8, pigment: 0.45, body: 0 },
|
|
1480
|
+
behavior: { pickup: 0.4, mix: 0.4, mixing: "pigment" },
|
|
1481
|
+
wet: { tool: "paint", water: 0.8, pigment: 0.45, body: 0, rewet: 0.2 },
|
|
1482
1482
|
// A graded wash: the paint colour runs into the second colour as the brush travels.
|
|
1483
1483
|
paint: { type: "gradient", stops: [{ offset: 0, color: "paint" }, { offset: 1, color: "secondary" }], space: "pigment", map: { by: "distance", length: 500, repeat: "mirror" } }
|
|
1484
1484
|
}),
|
|
@@ -1489,7 +1489,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1489
1489
|
engine: "wet",
|
|
1490
1490
|
tip: { size: 7, hardness: 0.75, spacing: 0.1, opacity: 1, flow: 1, smoothing: 0.4, pressureSize: true, pressureOpacity: false },
|
|
1491
1491
|
dynamics: { minSize: 0.2 },
|
|
1492
|
-
|
|
1492
|
+
behavior: { pickup: 0.4, mix: 0.45, mixing: "pigment" },
|
|
1493
|
+
wet: { tool: "paint", water: 0.4, pigment: 0.7, body: 0, rewet: 0.2 }
|
|
1493
1494
|
}),
|
|
1494
1495
|
builtin({
|
|
1495
1496
|
id: "gouache",
|
|
@@ -1498,8 +1499,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1498
1499
|
engine: "wet",
|
|
1499
1500
|
tip: { size: 26, hardness: 0.7, spacing: 0.1, opacity: 1, flow: 1, smoothing: 0.25, pressureSize: true, pressureOpacity: false },
|
|
1500
1501
|
dynamics: { minSize: 0.5 },
|
|
1501
|
-
behavior: { pickup: 0.
|
|
1502
|
-
wet: { tool: "paint", water: 0.35, pigment: 0.8, body: 1, medium: "gouache" }
|
|
1502
|
+
behavior: { pickup: 0.65, mix: 0.6, mixing: "pigment" },
|
|
1503
|
+
wet: { tool: "paint", water: 0.35, pigment: 0.8, body: 1, medium: "gouache", rewet: 0.3 }
|
|
1503
1504
|
}),
|
|
1504
1505
|
builtin({
|
|
1505
1506
|
id: "oil-round",
|
|
@@ -1457,8 +1457,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1457
1457
|
engine: "wet",
|
|
1458
1458
|
tip: { size: 28, hardness: 0.6, spacing: 0.12, opacity: 1, flow: 1, smoothing: 0.25, pressureSize: true, pressureOpacity: true },
|
|
1459
1459
|
dynamics: { minSize: 0.35 },
|
|
1460
|
-
behavior: { pickup: 0.
|
|
1461
|
-
wet: { tool: "paint", water: 0.55, pigment: 0.5, body: 0 }
|
|
1460
|
+
behavior: { pickup: 0.55, mix: 0.5, mixing: "pigment" },
|
|
1461
|
+
wet: { tool: "paint", water: 0.55, pigment: 0.5, body: 0, rewet: 0.2 }
|
|
1462
1462
|
}),
|
|
1463
1463
|
builtin({
|
|
1464
1464
|
id: "watercolor-wash",
|
|
@@ -1467,8 +1467,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1467
1467
|
engine: "wet",
|
|
1468
1468
|
rotation: "stroke",
|
|
1469
1469
|
tip: { size: 90, hardness: 0.35, spacing: 0.1, angle: 90, roundness: 0.45, opacity: 1, flow: 1, smoothing: 0.3, pressureSize: false, pressureOpacity: true },
|
|
1470
|
-
behavior: { pickup: 0.
|
|
1471
|
-
wet: { tool: "paint", water: 0.8, pigment: 0.45, body: 0 }
|
|
1470
|
+
behavior: { pickup: 0.45, mix: 0.45, mixing: "pigment" },
|
|
1471
|
+
wet: { tool: "paint", water: 0.8, pigment: 0.45, body: 0, rewet: 0.2 }
|
|
1472
1472
|
}),
|
|
1473
1473
|
builtin({
|
|
1474
1474
|
id: "gradient-wash",
|
|
@@ -1477,8 +1477,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1477
1477
|
engine: "wet",
|
|
1478
1478
|
rotation: "stroke",
|
|
1479
1479
|
tip: { size: 80, hardness: 0.35, spacing: 0.1, angle: 90, roundness: 0.5, opacity: 1, flow: 1, smoothing: 0.3, pressureSize: false, pressureOpacity: true },
|
|
1480
|
-
behavior: { pickup: 0.
|
|
1481
|
-
wet: { tool: "paint", water: 0.8, pigment: 0.45, body: 0 },
|
|
1480
|
+
behavior: { pickup: 0.4, mix: 0.4, mixing: "pigment" },
|
|
1481
|
+
wet: { tool: "paint", water: 0.8, pigment: 0.45, body: 0, rewet: 0.2 },
|
|
1482
1482
|
// A graded wash: the paint colour runs into the second colour as the brush travels.
|
|
1483
1483
|
paint: { type: "gradient", stops: [{ offset: 0, color: "paint" }, { offset: 1, color: "secondary" }], space: "pigment", map: { by: "distance", length: 500, repeat: "mirror" } }
|
|
1484
1484
|
}),
|
|
@@ -1489,7 +1489,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1489
1489
|
engine: "wet",
|
|
1490
1490
|
tip: { size: 7, hardness: 0.75, spacing: 0.1, opacity: 1, flow: 1, smoothing: 0.4, pressureSize: true, pressureOpacity: false },
|
|
1491
1491
|
dynamics: { minSize: 0.2 },
|
|
1492
|
-
|
|
1492
|
+
behavior: { pickup: 0.4, mix: 0.45, mixing: "pigment" },
|
|
1493
|
+
wet: { tool: "paint", water: 0.4, pigment: 0.7, body: 0, rewet: 0.2 }
|
|
1493
1494
|
}),
|
|
1494
1495
|
builtin({
|
|
1495
1496
|
id: "gouache",
|
|
@@ -1498,8 +1499,8 @@ var BUILTIN_BRUSHES = [
|
|
|
1498
1499
|
engine: "wet",
|
|
1499
1500
|
tip: { size: 26, hardness: 0.7, spacing: 0.1, opacity: 1, flow: 1, smoothing: 0.25, pressureSize: true, pressureOpacity: false },
|
|
1500
1501
|
dynamics: { minSize: 0.5 },
|
|
1501
|
-
behavior: { pickup: 0.
|
|
1502
|
-
wet: { tool: "paint", water: 0.35, pigment: 0.8, body: 1, medium: "gouache" }
|
|
1502
|
+
behavior: { pickup: 0.65, mix: 0.6, mixing: "pigment" },
|
|
1503
|
+
wet: { tool: "paint", water: 0.35, pigment: 0.8, body: 1, medium: "gouache", rewet: 0.3 }
|
|
1503
1504
|
}),
|
|
1504
1505
|
builtin({
|
|
1505
1506
|
id: "oil-round",
|
|
@@ -74,7 +74,7 @@ function profileAlongPolyline(points, values, count = 32) {
|
|
|
74
74
|
var round3 = (v) => Math.round(v * 1e3) / 1e3;
|
|
75
75
|
var loading = null;
|
|
76
76
|
function loadCanvasBrushstrokeRenderer() {
|
|
77
|
-
loading ??= import("./brushstrokeRender-
|
|
77
|
+
loading ??= import("./brushstrokeRender-7LXCU7PD.js").catch((error) => {
|
|
78
78
|
loading = null;
|
|
79
79
|
throw error;
|
|
80
80
|
});
|