About
inspiration from the advanced 3D rendering and lighting techniques popular on Shadertoy, I've created a new shader called "Crystalline cube."
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Crystalline Cube to your project and fits it to your theme.
Code
How Crystalline Cube is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import InteractiveShader from "@/components/ui/crystalline-cube";
const settings = {
complexity: 4.0,
colorShift: 0.3,
lightIntensity: 1.5,
mouseInfluence: 0.5,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="relative h-screen w-screen">
<InteractiveShader {...s} />
</div>
);
}








