A violently distorting magenta sphere that glows like hot plasma.
three @react-three/fiber @react-three/drei<PlasmaOrb /> inside your own <Canvas>.import { MeshDistortMaterial } from '@react-three/drei';
export default function PlasmaOrb({ color = '#ff2fd0', scale = 1 }: { color?: string; scale?: number }) {
return (
<mesh scale={scale}>
<sphereGeometry args={[1, 64, 64]} />
<MeshDistortMaterial
color={color}
distort={0.6}
speed={3}
roughness={0.1}
metalness={0.2}
emissive={color}
emissiveIntensity={0.8}
/>
</mesh>
);
}