⬢github HTML · 23 ★ +22 since we first saw it · pushed 4 h ago · MIT
rxolve/zpup
Describe a small 3D scene as JSON and get a flat SVG picture of it from any angle. Inspired by Zdog.
Zpup is a small JavaScript library where you describe a simple 3D scene as a JSON-like object tree and it renders a flat SVG illustration from any viewing angle. Inspired by Zdog, it handles depth sorting and face shading itself, producing plain SVG files with no JavaScript, usable in img tags, emails, or READMEs. A web playground lets you edit scenes and export SVG.
Why now: It was launched on Hacker News as a Show HN, with a benchmark comparison showing it paints far fewer shapes in the wrong order than Zdog, which sparked discussion.
Who it is for: Developers and designers making small vector illustrations like icons, mascots, and props without a full 3D engine.
Stars over our 106 snapshots: 1 to 23, since 1 d ago.
Where people talked about it
API: https://socialmediatrends-api.osmike.com/v1/repos/rxolve/zpup