
3D Solar system simulator
Testing Ai with a solar system simulator with realistic 3D graphics and user interactions
Prompt
Using WebGL 2.0, create a self contained 3D a solar system simulator. Initial view should be centered around the sun at far-viewing distance. Planets and graphics should use realtistic 3D graphics and lighting, with physically based atmosphere effect earth and glow effects for the sun. All objects and distances must be to scale. The position of planets and moons should be realtime with reality. There should be a timeline with back/forward and "realtime" button that allows users to go back or fast forward time to view the past or future movements of the solar system objects (with multipliers for speed). Realtime button should reset the time to "realtime". Clicking on any object should smoothly transition the camera to center that object. The camera should be able to zoom (with appropriate limits) and orbit around the selected object. The software should include a nice apple-looking ui (that uses frosted dark gray glass background effects). Also include a nice clickable "legend" in the ui with each object of the solar system so that the user can simply click on an object and the camera will automatically go to that object in a smooth motion.
A system prompt was added to support web rendering
Answer guidance
The app should be directly playable/usable in the browser without needing external files or configs. It should work as a single HTML file with self-contained code and dependencies.