17

Getting a correct-feeling solar system out of one prompt is surprisingly hard: you either get planets orbiting at the same speed or a camera stuck inside the sun.

This prompt gets the scale relationships readable (not realistic, readable) and the camera behavior right on the first try in most runs. The explicit "logarithmic compromise" instruction is doing the heavy lifting.

THE PROMPT
Create a three.js solar system in one HTML file (import three from CDN as ES module). Requirements:
- Sun + 8 planets with LOGARITHMIC COMPROMISE scaling: planet radii proportional to log of real radii, orbital distances proportional to log of real distances, so everything is visible in one view
- Orbital periods proportional to real periods but scaled so Earth = 12 seconds
- Saturn gets a ring (thin torus), Earth gets a moon
- Each planet: subtle axial rotation, hover shows a label with name + one fun fact
- Starfield background (2000 points), soft sun glow (sprite, additive blending)
- OrbitControls: damped, min distance outside the sun, max distance keeps Neptune in frame
- Click a planet to smoothly tween the camera to follow it; Escape returns to overview
No build step, no external assets beyond the CDN.
The logarithmic compromise phrasing is genius. Been fighting scale for weeks. – promptsmith 1 hour ago
add a comment

0 Answers

Your Answer