pixelkiln 0.121.1 → 0.122.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/cli.js +2 -0
- package/dist/cli.js.map +1 -1
- package/docs/CHARACTERS.md +3 -0
- package/docs/CLI.md +3 -1
- package/docs/PAPERDOLL.md +2 -1
- package/docs/README.md +1 -0
- package/docs/REVISIONS.md +3 -0
- package/docs/SKELETONS.md +478 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -34566,6 +34566,7 @@ import { readFile as readFile50, writeFile as writeFile31 } from "fs/promises";
|
|
|
34566
34566
|
var RIGHT = [255, 140, 40, 255];
|
|
34567
34567
|
var LEFT = [60, 150, 255, 255];
|
|
34568
34568
|
var CENTER = [240, 240, 240, 255];
|
|
34569
|
+
var FACE = [150, 150, 150, 255];
|
|
34569
34570
|
var GROUND = [28, 28, 34, 255];
|
|
34570
34571
|
var OUTLINE = [0, 0, 0, 255];
|
|
34571
34572
|
var GUTTER = 4;
|
|
@@ -34610,6 +34611,7 @@ function drawPose(canvas, pose, left, top, w, h, stroke) {
|
|
|
34610
34611
|
}
|
|
34611
34612
|
}
|
|
34612
34613
|
function colorOf(label) {
|
|
34614
|
+
if (label.endsWith(" EYE") || label.endsWith(" EAR")) return FACE;
|
|
34613
34615
|
if (label.startsWith("RIGHT")) return RIGHT;
|
|
34614
34616
|
if (label.startsWith("LEFT")) return LEFT;
|
|
34615
34617
|
return CENTER;
|