Procedural lego builder
Build a browser 3D 'procedural LEGO' generator in Three.js: given a seed, it assembles a small LEGO scene (a house, tree and vehicle) from correctly proporti…
More
1 test · 1 finished runs (1 agent, 0 raw one-shot) · 1 live demo
The prompt
Build a browser 3D 'procedural LEGO' generator in Three.js: given a seed, it assembles a small LEGO scene (a house, tree and vehicle) from correctly proportioned studded bricks (real 8mm pitch, 9.6mm height ratio) with instancing for performance. Animate the bricks snapping into place one by one, allow orbit, and add a 'rebuild' button with a new seed. Plastic material should look right (subsurface-ish sheen, bevelled edges). Show brick count and draw calls. IDLE AUTO-PLAY: with no input, the page starts animating immediately and runs an automatic demo (camera motion, preset or seed cycling, or an AI player) so a headless capture shows constant motion. Must render on WebGL/WebGL2 with no WebGPU required. Save the main page as index.html in the current directory (plus any local asset files you create), with no build step. You may serve it locally and open it in headless chromium (/usr/bin/chromium, software WebGL, no GPU, no WebGPU) to screenshot and inspect your own output, and iterate on your own before finishing. Close any browser you open as soon as you've taken your screenshot. Finish with a short README.md describing the controls.
Same prompt, all models: step through 1 runsIn the gallery: one player, arrow keys or swipe.