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.
Sources and live demos
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
Model and prompt
Related showcases
- Starship SCV-07, a Gemini Web Three.js Diorama
Pilot a voxel research ship through a nebula route in Gemini Web’s SCV-07 Three.js demo. The cockpit HUD surfaces sector, speed, and warp progress while you change cameras and trigger a jump.
- Starship Odyssey, a Gemini Web Warp-Drive Demo
Orbit Starship Odyssey and hold Space to engage a warp jump in this compact Gemini Web Three.js scene. The live single-file demo pairs a voxel spacecraft with camera controls and a visible warp charge meter.
- FlowBoard Pro Kanban by Gemini Web
Explore Gemini Web’s FlowBoard Pro, a framework-free single-file board with cross-column dragging and adaptive edge scrolling. Try the color themes, then open a card to edit labels and subtasks in its expanding detail view.