Caffeine Molecule
View prompt
Create an interactive 3D visualization of a caffeine molecule (C8H10N4O2). Render atoms as color-coded spheres — carbon in dark gray, hydrogen in white, nitrogen in blue, oxygen in red — with cylindrical bonds connecting them. The molecule should slowly auto-rotate around its vertical axis against a deep navy gradient background with subtle grid fog. Enable orbit controls so viewers can freely rotate, zoom, and pan. Add a soft key light from the upper front, a cool rim light from behind, and gentle ambient fill so every bond is readable. Float small text labels (C, H, N, O) next to each atom that always face the camera. When the scene first loads, animate atoms flying in from the outside and snapping into place, then transition into the idle rotation. Include a minimal HUD in the corner showing the molecular formula and molar mass. Cool, educational, chemistry-class quality.