Dhileep Kumar GM

Celestial Sphere Shader

Shaders 107

About

: An interactive React component that renders a 3D celestial sphere with dynamic, glowing nebulae using a custom GLSL shader and three.js.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Celestial Sphere Shader to your project and fits it to your theme.

Code

How Celestial Sphere Shader is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ShaderCanvas from "@/components/ui/celestial-sphere-shader";

const settings = {
  color1: "#ff4444",
  color2: "#4444ff",
  cloudDensity: 2.0,
  glowIntensity: 1.0,
  rotationSpeed: 0.5,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen">
      <ShaderCanvas
        color1={s.color1}
        color2={s.color2}
        cloudDensity={s.cloudDensity}
        glowIntensity={s.glowIntensity}
        rotationSpeed={s.rotationSpeed}
      />
    </div>
  );
}

Dependencies

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    1.9K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    941
  • Mountain Scene

    Mountain Scene

    862
  • HolographicCard

    HolographicCard

    819
  • 3D Animation

    3D Animation

    779
  • Cybernetic Bento Grid

    Cybernetic Bento Grid

    557

More in Shaders

View all
  • Glass Fold

    Glass Fold

    279
  • Phosphor 30

    Phosphor 30

    293
  • Shader Animation

    Shader Animation

    3.7K
  • Wave

    Wave

    693
  • Black Hole

    Black Hole

    27
  • Shader Background

    Shader Background

    2K
  • Shader Lines

    Shader Lines

    2.3K
  • Liquid Glass Logo Reveal

    Liquid Glass Logo Reveal

    632