Three.js Solar System example
Animate a miniature Three.js solar system with nested groups and orbital motion.
Parent groups provide independent planet and moon orbits while emissive and standard materials distinguish the bodies.
Available runtime values:
THREE, scene, camera, controls, renderer, size, add(), setBackground(), setCamera(), onFrame().