Interactive 3D Solar System Simulator
From Wikiprompt, the free prompt encyclopedia
Interactive 3D Solar System Simulator A comprehensive prompt for building a polished 3D solar system simulator with Three.js, including realistic orbits, controls, UI, and visual enhancements.
Prompt ContentSave
π
Build a complete, interactive 3D solar system simulator in a single HTML file using Three.js.
WHAT IT DOES
A 3D simulation of the solar system with realistic orbits, adjustable speed controls, and an immersive starfield background. The user can rotate the view, zoom in/out, and see planets orbiting the sun with accurate relative sizes and orbital paths.
CORE FEATURES
1. 3D Scene
A sun at the center with a warm, glowing texture (simple emission glow)
All 8 planets orbiting the sun (Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune)
Orbital paths shown as faint, semi-transparent rings
Planets with different sizes and colors (approximate, not to scale but visually distinct)
A starfield background with thousands of twinkling stars
2. Controls
OrbitControls: click and drag to rotate the view, scroll to zoom
Speed slider: adjustable speed (0x to 5x) to speed up or slow down orbits
Pause/Resume button: freeze or resume the simulation
Click on any planet to focus the camera on it
A reset button to return to default view
3. UI & HUD
Planet labels floating above each planet (name + icon)
A "Speed" slider at the bottom
A "Pause" / "Resume" button in the bottom right
A subtle, modern dark glass UI (dark mode, sci-fi aesthetic)
Small info box in the corner showing the current time or speed multiplier
4. Visual Enhancements
Realistic-looking planets with basic color gradients
Soft glow effect around the sun
Orbits as dashed or semi-transparent lines
Lighting that makes planets look dimensional, not flat
5. Technical Details
Use Three.js from CDN
All code in a single HTML file
Smooth 60fps performance
Mouse controls: drag to rotate, scroll to zoom
Keyboard shortcut: Spacebar to toggle pause
Build a polished, interactive solar system simulator that someone would actually want to explore.
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
References
- Category: coding Prompts
- Source: https://x.com/eyishazyer/status/2075849990367273241
Talk
0 comments