3.5x fewer tokens for AI-generated 3D scenes: meet tinythree
dev.to
tinythree is a tiny scene language that compiles to Three.js. Here is why I built it, how I measured it, and where it falls short. When I ask an AI model to build a 3D scene in Three.js, the result is usually good. What bothered me was the cost of getting there. Most of what the model types isn't the scene. It's ceremony: creating a renderer, wiring up orbit controls, handling window resizes, writing new THREE.Mesh(new THREE.BoxGeometry(...), material) and then .position.set(...) again and ag