metafizzy/zdog ? reverse-engineered prompt
Reverse engineered prompt
Build me a small, designer friendly pseudo 3D drawing library for the browser, something that works with both canvas and SVG and lets me create simple round, flat shapes without a lot of setup.
I want to be able to make an illustration, add shapes like circles, squares, and other simple objects to it, rotate the whole scene, and animate it smoothly with requestAnimationFrame. It should support things like zoom, drag to rotate, and a callback when dragging starts so I can stop an auto spin.
Please include a basic demo page that shows a couple of shapes in a scene, one spinning until I drag it. Make it feel polished and easy to use for artists and designers, not like a heavy game engine. If you need to check current browser or canvas and SVG behavior, look up the latest docs online first.
Are you gonna build this?
make sure you review the code using coderabbit