Voxel Pop-Up Dragon Castle Prompt and Showcases
Read the original Voxel Pop-Up Dragon Castle coding prompt, inspect the published implementations, and adapt the prompt variables for your own experiment.
CodeDNA metrics
| Showcase | Engine | HTML bytes | Effective lines | Shader references | Offline HTML |
|---|---|---|---|---|---|
| Voxel Pop-Up Dragon Castle in Three.js by Gemini Web | Three.js r160 | 137767 | 3248 | 14 | Yes |
Original prompt
Voxel Pop-Up Dragon Castle in Three.js by Gemini Web
用 Three.js 创作一个单文件 HTML 体素微缩立体书场景《立体书:龙与城堡》,翻开精装绘本即可展开立体城堡、盘旋飞龙与魔法光效。Takeaways
- The cover and page motion provide a shared origin for the pop-up geometry.
- A dragon patrol animates the castle scene after the book opens.
- The scene HUD tracks chapter, dragon state, and the time of day.
Prompt variables
- Book materials and opening timing
- Castle geometry and dragon path
- Magic effects and daypart lighting
Arena showcases
- Voxel Pop-Up Dragon Castle in Three.js by Gemini Web
Open a hardback book to reveal a voxel castle, circling dragon, and magical lighting in a Gemini Web Three.js diorama. Explore how the browser scene ties a page-opening gesture to the movement and atmosphere of a miniature world.