Backgrounds/Smoke Sphere
Smoke Sphere
A soft, swirling sphere of smoke ray-marched in real time with a gentle camera orbit.
Canvas
Interactive example
ORBIT /Made with QB UI
A little beyond the ordinaryGive your ideas
Give your ideas
a world of their own.
An independent creative studio turning ambitious ideas into immersive digital experiences.
Strategy meets imaginationDigital, with feelingFrom concept to launch
Customize
Shape the swirling smoke and its glow.
Installation
Run the CLI from your project root. Dependencies and component source are added automatically.
$npx @quackbytes/ui add smoke-sphereUsage
The generated file lives in your repository, so the component API and styles remain fully editable.
example.tsx
import { SmokeSphere } from "@/components/quack/backgrounds/smoke-sphere"
export function SmokeSphereDemo() {
return (
<SmokeSphere
className="min-h-[420px]"
speed={1}
rotationSpeed={0.1}
rayMarchSteps={20}
turbulenceIters={10}
turbulenceAmplitude={2.5}
turbulenceFrequency={7.5}
turbulenceExponent={2.1}
sphereRadius={2.9}
passthrough={0.05}
brightness={0.0005}
colorMix={0.5}
blur={1}
coreColor="#d946ef"
glowColor="#f472b6"
backgroundColor="#0a0a0a"
/>
)
}