Skip to content

Repository files navigation

FluidMotion — DogStudio 3D Experience Recreation

React 19 Three.js React Three Fiber GSAP Vite

ℹ️ Design & Concept Attribution: This repository is an unofficial, non-commercial educational recreation created solely to study the interactive 3D WebGL and GSAP animation techniques seen on DogStudio. This is not an original visual design — all original design, aesthetic concepts, branding, and visual media credit belong entirely to the creative team at DogStudio.


Live Demo & Preview


Technical Highlights & Implementation

  • GLSL Custom Matcap Shader Interpolation: Custom onBeforeCompile GLSL fragment shader modification that smoothly interpolates between multiple Matcap textures based on scroll and hover triggers.
  • Scroll-Synced 3D Camera Timeline: GSAP ScrollTrigger integration coordinating 3D mesh position/rotation with DOM scroll progression.
  • Accessibility & Reduced Motion: Automatically detects prefers-reduced-motion to tone down camera scroll transitions.
  • WebGL Resilience & Fallback: Includes runtime WebGL2/WebGL1 hardware capability detection and React Error Boundaries to display a graceful fallback on unsupported or GPU-restricted devices.
  • Progressive Asset Loading: Preloads Draco-compressed GLTF 3D models and high-resolution Matcap texture arrays via React Suspense.

Tech Stack

  • Framework: React 19 + Vite 7
  • 3D Graphics Engine: Three.js + @react-three/fiber + @react-three/drei
  • Animation & Scroll Control: GSAP + @gsap/react + ScrollTrigger
  • Asset Pipeline: GLTF / Draco Loader + WebGL MatCap Textures

Getting Started

Prerequisites

  • Node.js ^20.0.0 or higher
  • npm ^10.0.0 or higher

Installation & Setup

  1. Clone the repository:

    git clone https://github.com/1Bharat007/FluidMotion.git
    cd FluidMotion
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev

    Open http://localhost:5173 in your browser.

  4. Build for production:

    npm run build

Credits & Inspiration

  • Original Design & Concept: DogStudio
  • Recreated for educational purposes to practice interactive WebGL and 3D web animation.

License

MIT License. See LICENSE for details.

About

Pixel-perfect frontend clone of DogStudio — world-class creative agency with GSAP animations & custom cursor

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages