Show HN: Zpup – Zdog style 3D scenes in JSON, SVG from any angle
Category: library
Tags: svg, 3d, json, rendering, depth-sorting, zdog
Score: 6.5/10 (Innovation: 6, Technical: 7, Documentation: 8, Utility: 5)
Zpup is a JavaScript library that renders small 3D scenes described as JSON into flat SVG images from any angle, inspired by Zdog but with more accurate depth sorting. It handles orthographic projection, face shading, and soft gradients without runtime dependencies, making it suitable for static illustrations in READMEs, emails, or server-side rendering. The project offers a JSON-based scene format, validation errors, and a playground for interactive editing.
Target audience: frontend devs, graphic designers, technical writers
Repository: https://github.com/rxolve/zpup · HTML · MIT · 23 stars
View on Hacker News