Le Thanh

3D Textured Cube

Shaders

About

This React component renders a fully interactive 3D scene using WebGL2. * The main feature is a rotating cube with unique image textures on each of its * The cube's rotation can be controlled * by clicking and dragging the mouse.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds 3D Textured Cube to your project and fits it to your theme.

Code

How 3D Textured Cube is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { GLSLShaderCube } from "@/components/ui/3d-textured-cube";

export default function DemoOne() {
  return <GLSLShaderCube />;
}

More by Le Thanh

View all
  • Interactive Image Accordion

    Interactive Image Accordion

    4.2K
  • Interactive Selector

    Interactive Selector

    2.6K
  • Gradient Menu

    Gradient Menu

    2.3K
  • Animated Shader Background

    Animated Shader Background

    2.1K
  • Shader Background

    Shader Background

    2K
  • Waitlist Hero

    Waitlist Hero

    1.8K
  • Image Comparison Slider

    Image Comparison Slider

    1.6K
  • Digital Serenity - Animated Landing Page

    Digital Serenity - Animated Landing Page

    1.4K

More in Shaders

View all
  • Glass Fold

    Glass Fold

    212
  • Neural Noise

    Neural Noise

    717
  • Water Caustic

    Water Caustic

    44
  • Wave

    Wave

    687
  • Stripe like gradient-shader

    Stripe like gradient-shader

    265
  • Black Hole

    Black Hole

    23
  • Shader Lines

    Shader Lines

    2.3K
  • Phosphor 30

    Phosphor 30

    289