BestPromptFinder
Interactive 3D Scene in One HTML File With Three.js
85AI Quality /100
91AI Usefulness est. /100
83Eval Confidence /100
No votes yetCommunity results
The prompt
Build a small interactive 3D scene in a single HTML file using Three.js loaded from a CDN. Scene: [e.g. a ship inside a glass bottle on a desk, with water that rocks gently] Interactions: [e.g. drag to orbit, scroll to zoom, click the bottle to make it rock] Requirements: - Build every object from Three.js geometry and materials; no external model or texture files. - One key light, one soft fill and an environment-style ambient so glass and water read clearly. - Smooth animation using requestAnimationFrame and delta time. - Works on a phone: touch controls, resize handling, pixel ratio capped at 2. - A tiny on-screen hint for the controls that fades after 3 seconds. - Code split into clear sections: setup, objects, animation, interaction. Output: the whole file, then 3 easy ways to extend it. Before finishing, check for console errors, that the scene stays above 30 fps on a mid-range laptop, and that nothing breaks when the window is resized.Find similar in the app →
Did this prompt work for you?
Why this prompt
- Hand-picked, editorially reviewed prompt
- Written for Claude, ChatGPT, Gemini
Source
Created by BestPromptFinder — editorial prompt, not user-generated. See our content & source policy.
Related Coding prompts
Python: Download a CSV From a URLQuality 94 · GPT-5.6Public-Market and Competitor Data Collection Agent
Quality 92 · GPT-5.6Plain-English to SQL Query Writer
Quality 91 · GPT-5.6PRD to MVP Technical Plan
Quality 90 · Claude CodeThird-Party API Integration
Quality 90 · Claude CodeDatabase Schema and Migration
Quality 90 · Claude Code