Skip to content

pixelwright 0.8.2

Choose a tag to compare

@m4bwav m4bwav released this 26 Oct 12:05
· 8 commits to main since this release
18e320c

Pixel-art rules from three pixel-art books and two graphics textbooks, plus more guards for natural construction.

One behaviour change: snap no longer reports a grid when there are too few edges to tell a real grid from chance (fewer than 8, or coherence under 2.8/sqrt(edges)). Before this, a smooth JPEG render could snap at scale 17 or 57 and turn to mush. On 304 real renders the scale comes out the same as before. Every other addition is opt-in, and default outputs are byte-identical to 0.7.3.

pixelwright-make (0.8.0)

  • background.holes clears background enclosed by the sprite.
  • dither.space: linear dithers in linear light, and dither.max_step caps the contrast.
  • clean.corners makes corners pixel-perfect.
  • New fog option and swap command.
  • filter: box downscale for model_rotate.
  • New rules in the skill: choose the outline by the background, the smallest-feature size, no dither on sprites that will move, share ramp ends before raising the colour budget, and the caveat on mirrored light.

pixelwright-animate (0.7.1 to 0.8.2)

  • gates.json reports flicker_pixels (with flicker_at) and, when it applies, cadence_uneven. Neither fails a take unless a brief sets max_flicker_pixels. They have no pass lines yet.
  • arc gains perfect for clean one-pixel bolts.
  • Timing rules from the books: pop rows of 2-3 px, keep faces out of shimmer, 3-frame loops, favour keys, steady steps.
  • Natural construction: site lines draw only inside the finished silhouette (clip: false brings back the old full lines), and a new drawn_outside_silhouette gate fails a take that draws where the still is empty. Roofs need a different material from the walls and are traced on a grid. Shared loops desync with a random hold on frame 0. Open-sided buildings take the ordinary natural plan.

Details: CHANGELOG.md, C-20261024-8 to C-20261025-5.