正在自动登录…
← 返回项目列表crsolver/
crsolver/ claude-pxl
pxl 是一个将像素艺术作为代码编写的工具,通过简洁的 .px.js 文件生成 PNG、精灵表、动画 GIF,并提供实时浏览器预览。它专为 AI 代理设计,也适合人类使用,无需运行时依赖和构建步骤。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/15 23:36:41 · 查看原文
- 累计 Stars
- 353
- 当前热度
- 未达当前门槛
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/10/15 23:36:41
- 适用场景
适用于通过代码生成像素画、精灵表、动画 GIF,并可在浏览器中实时预览绘制过程。
查看 README 依据
# pxl **Pixel art as code.** Write a compact `.px.js` file; get PNGs, sprite sheets with JSON, animated GIFs, and a live browser viewer that replays the painting step by step as you save. Built for AI agents (it ships as a ready-made [agent skill](#use-it-with-an-ai-agent)) and pleasant for people too. No runtime dependencies, no build step: just Node ≥ 22.18. <p> <img src="docs/gallery/no_magic_night.gif" width="100%" alt="Animated witch's cottage at night: bubbling cauldron, fireplace, cat and frog"> </p> <p>
`pxl serve art.px.js` opens a viewer that rebuilds on every save and replays the asset you edited op by op, so you (or whoever is watching an agent work) can see the art being painted. It also writes the same `out/` files as `build`. ## Commands ``` pxl build <art.px.js> [--out DIR] [--only a,b] [--scale N] [--no-preview] pxl serve <art.px.js> [--port 4321] [--out DIR | --no-out] [--no-preview] pxl ascii <art.px.js> <name> print an asset as palette keys with x/y rulers pxl list <art.px.js> list assets, groups and sheets with source locations ```
- 目标用户
为 AI 代理设计,也适合人类用户。
查看 README 依据
# pxl **Pixel art as code.** Write a compact `.px.js` file; get PNGs, sprite sheets with JSON, animated GIFs, and a live browser viewer that replays the painting step by step as you save. Built for AI agents (it ships as a ready-made [agent skill](#use-it-with-an-ai-agent)) and pleasant for people too. No runtime dependencies, no build step: just Node ≥ 22.18. <p> <img src="docs/gallery/no_magic_night.gif" width="100%" alt="Animated witch's cottage at night: bubbling cauldron, fireplace, cat and frog"> </p> <p>
- 使用方式
通过命令行使用,提供 build、serve、ascii、list 等命令,支持 .js 或 .ts 文件。
查看 README 依据
`pxl serve art.px.js` opens a viewer that rebuilds on every save and replays the asset you edited op by op, so you (or whoever is watching an agent work) can see the art being painted. It also writes the same `out/` files as `build`. ## Commands ``` pxl build <art.px.js> [--out DIR] [--only a,b] [--scale N] [--no-preview] pxl serve <art.px.js> [--port 4321] [--out DIR | --no-out] [--no-preview] pxl ascii <art.px.js> <name> print an asset as palette keys with x/y rulers pxl list <art.px.js> list assets, groups and sheets with source locations ```
`pxl` means `node bin/pxl.js` in a clone, or `npx github:crsolver/claude-pxl`. Art files can be `.js` or `.ts` (`types/pxl.d.ts` gives editor completion). ## What's in the DSL - **Palettes and ramps**: one-character color keys, built-in palettes (pico8, sweetie16, endesga32…), dark→light ramps that drive `shade()` / `light()`. - **Sprites**: text grids, mirroring, auto-outline, palette-swap variants, flips/rotations, reusable `_parts`, `stamp`. - **Primitives and brushes**: rects, lines, circles, polygons, gradients, dithering, noise, a built-in
- 部署要求
需要 Node.js 22.18 或更高版本,无运行时依赖。
查看 README 依据
# pxl **Pixel art as code.** Write a compact `.px.js` file; get PNGs, sprite sheets with JSON, animated GIFs, and a live browser viewer that replays the painting step by step as you save. Built for AI agents (it ships as a ready-made [agent skill](#use-it-with-an-ai-agent)) and pleasant for people too. No runtime dependencies, no build step: just Node ≥ 22.18. <p> <img src="docs/gallery/no_magic_night.gif" width="100%" alt="Animated witch's cottage at night: bubbling cauldron, fireplace, cat and frog"> </p> <p>
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/10/15 10:29:33
- 首次达标收录
- 2026/10/15 23:31:19
- 统计更新时间
- 2026/10/22 19:00:56
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 4.0 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/10/15 23:31:19 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/10/15 10:35:03
- 许可证标识
- MIT
- Fork 数
- 38
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目