A churning plasma core arcs lightning toward the glass surface — move your cursor over the sphere to draw the bolts toward it. The core's surface color is generated procedurally by layering 5-octave simplex noise (fbm) in a fragment shader, while each lightning bolt is a jagged path built via recursive midpoint-displacement and meshed into a thin additive TubeGeometry that is regenerated every 50-170ms to flicker. The outer shell uses a physically-based transmission material to fake refractive glass, with a separate Fresnel rim shader adding glow at grazing angles.