pixelkiln 0.148.0 → 0.148.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.
@@ -412,9 +412,19 @@ layer) stale, so turn it on before generating those.
412
412
 
413
413
  Cleaning goes by colour, so look at the limbs afterwards. A model sometimes
414
414
  shades a far arm or leg in a dark colour the rotations never use. A whole
415
- limb drawn that way, in its own outline, is recognised by its size and left
416
- alone; an edge of such colour on the body itself is still peeled, which can
417
- thin an arm. Regenerate a loop that comes back like that.
415
+ limb drawn that way is recognised by its size and left alone, sealed in its
416
+ own outline or reaching the edge of the silhouette; an edge of such colour on
417
+ the body itself is still peeled, which can thin an arm. Regenerate a loop
418
+ that comes back like that.
419
+
420
+ Dark clothing is the figure's own. Shades below the outline threshold in the
421
+ rotations vouch for a loop's slightly lighter shade of them, and the sweep
422
+ that removes outline left framing nothing never takes a connected stretch of
423
+ dark bigger than a ghost. Until this fix a base in black underwear could lose
424
+ thousands of pixels from a frame that way. Loops cleaned before can come out
425
+ with different bytes on their next `pixelkiln fetch`; no spec hash changes.
426
+ `fetch` warns when cleaning takes more than 3% of a frame's opaque pixels;
427
+ `"clean": false` and `pixelkiln fetch` restore the provider's bytes for free.
418
428
 
419
429
  ### How the family depends on the base
420
430
 
package/docs/PAPERDOLL.md CHANGED
@@ -635,7 +635,12 @@ further up are four.
635
635
  so anything one-sided (a sword, a shoulder strap) is drawn for that side
636
636
  rather than flipped. Dress the mirror, do not mirror the layer. A placed
637
637
  item on a mirrored loop is pinned by that loop's own anchors, to the hand
638
- you named.
638
+ you named. A symmetric outfit can still be mirrored for free
639
+ (`"outfit.walk.west": { "mirror": "outfit.walk.east" }`): the flip is
640
+ current while it is the flip of the source layer's current files, and
641
+ `plan` makes it stale only when that layer changes, never on the loop the
642
+ layer was drawn over. While the source layer waits to be redrawn, `plan`
643
+ reports the flip as blocked until a later wave rather than as broken.
639
644
 
640
645
  **One sheet for the game.** `pixelkiln pack --style <style>` puts the
641
646
  character and every layer on one sheet, and its atlas pairs them up: a
@@ -720,6 +725,24 @@ downloaded shows in `plan` as `recoverable`, and `pixelkiln fetch`
720
725
  re-processes the frames at no cost. Do it before generating layers: a loop
721
726
  the cleaning changed makes a layer over it `stale`.
722
727
 
728
+ **Dark clothing.** A base in black or near-black underwear is mostly below
729
+ the outline threshold, and a loop often lifts its sheen a shade or two from
730
+ the rotations. Until this fix that shade read as foreign, the patch was erased,
731
+ and the outline sweep that follows an erasure ran on through the dark cloth:
732
+ one 256px idle lost 2,563 pixels from a frame and four of eight frames came
733
+ back with holes through the briefs. Now dark shades are vouched for by the
734
+ rotations' dark pixels too, a strange-coloured patch bigger than a ghost gets
735
+ is kept whether it is sealed or reaches the edge of the silhouette, and the
736
+ sweep never takes a connected stretch of dark bigger than that. Loops that
737
+ were cleaned before can come out with different bytes on their next
738
+ `pixelkiln fetch`; no spec hash changes.
739
+
740
+ **Check the frames after cleaning, before generating layers.** `fetch` warns
741
+ when cleaning takes more than 3% of a frame's opaque pixels, which is damage
742
+ rather than ghosts. If a frame has holes, set `"clean": false` on the loop and
743
+ run `pixelkiln fetch`: the provider's original bytes come back from the cache
744
+ at no cost.
745
+
723
746
  More in [Characters](./CHARACTERS.md#cleaning-a-loops-frames).
724
747
 
725
748
  ## Cost and limits
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelkiln",
3
- "version": "0.148.0",
3
+ "version": "0.148.1",
4
4
  "description": "Manifest-driven pixel-art generation, review, recovery, and packaging with deterministic provenance.",
5
5
  "type": "module",
6
6
  "sideEffects": false,