Repository navigation
pixelwright 0.8.2
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.holesclears background enclosed by the sprite.dither.space: lineardithers in linear light, anddither.max_stepcaps the contrast.clean.cornersmakes corners pixel-perfect.- New
fogoption andswapcommand. filter: boxdownscale formodel_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.jsonreportsflicker_pixels(withflicker_at) and, when it applies,cadence_uneven. Neither fails a take unless a brief setsmax_flicker_pixels. They have no pass lines yet.arcgainsperfectfor 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: falsebrings back the old full lines), and a newdrawn_outside_silhouettegate 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.