JIT
Lunar Divinity scene with rings and bloom
Prompt: "Act as a Three.js and WebGL expert. Create a script for a 1-in-250-million rarity entity called 'Lunar Divinity'. The Object: It is NOT a plant. It is a floating celestial construct. Geometry Composition: Core: A central, perfect sphere made of 'Liquid Moonlight' (bright white/cyan emission). Rings: Surrounding the core are 3 concentric rings (Torus geometry) rotating on different axes (like a gyroscope). Material: The rings should look like polished silver and moonstone. Use MeshStandardMaterial with high metalness (1.0) and low roughness (0.2). The 'Divinity' Effects (Shader/Particles): Halo: A massive, flat, glowing halo floats behind the object. Aura: Use a particle system (THREE.Points) that emits stars/sparkles outward from the center. Moon Phases: If possible, map a texture to the rings that cycles through moon phases or glows with runic symbols. Post-Processing: Implement EffectComposer with UnrealBloomPass. The bloom should be strong and cool-toned (blue/white) to mimic the intensity of a full moon in a vacuum."

I'll create a Three.js script for the Lunar Divinity entity with all the specified features. Let me start by setting up the complete scene with geometry, materials, effects, and post-processing.

Write file
Updated files
v1