← Back to portfolio View on GitHub ↗

HandCast

A cutting-edge gesture-based 3D lighting control system

Overview Features Demo Tech Stack Architecture

React Three.js Python MediaPipe License: MIT


Overview

HandCast is a gesture-based 3D lighting control system that detects hand pointing gestures and allows users to toggle smart bulbs in a realistic 3D environment using pinch gestures. The project translates physical real-world movements into interactions within a virtual 3D space, built using a React Three.js frontend and a Python MediaPipe backend over WebSockets.

Features

Demo

Demo


Tech Stack

Layer Technology
Frontend React 19.1, @react-three/fiber, @react-three/drei, Three.js, TailwindCSS
Backend Python 3.8+, FastAPI, MediaPipe, OpenCV, WebSockets
Database N/A
Infrastructure Node.js, Vite

Architecture

┌─────────────────┐    WebSocket    ┌──────────────────────┐
│   React Frontend│ ←──────────────→│   Python Backend     │
│                 │                 │                      │
│ • Three.js 3D   │                 │ • MediaPipe Hand     │
│ • Ray Casting   │                 │   Tracking           │
│ • Pinch Detect  │                 │ • FastAPI Server     │
│ • UI Components │                 │ • Real-time Data     │
└─────────────────┘                 └──────────────────────┘