The needle is the display's own routine, measured on 112 needles in the
Editor simulator: tip from quadrant-reduced sin/cos, truncated; line from
tip to centre with a biased DDA; wider needles stamp wid x wid squares
along a line shortened by wid - 1. Length follows the height.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Harvested the cir/cirs output for every radius 1..159 from Nextion
Editor's simulator and derived the incremental midpoint rule that
reproduces all of them; radio = width-sized circle clipped to the box,
dot radius r//2. Basic rendering coverage 18/20.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- nxhmi.mcp_server: dependency-free stdio MCP server, 14 tools; readable
values in and out; render_page returns a PNG image
- .mcp.json for Claude Code, .claude/skills/nextion-hmi/SKILL.md
- CLI: info --json, schema <kind>
- fix: project.add_page(h=...) clashed with the page height keyword
- 75 tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>