Back to Projects
Computer Vision

VoxelFlow: Gesture-Controlled 3D Editor

An immersive 3D voxel modeling environment that lets you build structures in real-time using only natural hand gestures, powered by computer vision.

Justin Jacob Saju

Ad Space - project-top

Overview

VoxelFlow is an innovative browser-based 3D editor that reimagines how we interact with digital space. By bridging the gap between computer vision and creative design, VoxelFlow allows users to manipulate a virtual voxel world using nothing but their hands and a standard webcam.

Core Functionality

Built on a foundation of Three.js and Google's MediaPipe, the application translates skeletal hand-tracking data into precise 3D spatial input. Whether you are building complex architectural structures or simply experimenting with digital clay, the interaction feels intuitive and fluid.

Key Features

  • Gesture-Based Workflow: Use a right-hand pointer for precision cursor navigation and left-hand pinch gestures for seamless block placement and deletion.
  • Smart Building Tools: The editor includes top-stacking magnetism, making it trivial to build vertical structures without fighting with 3D coordinate alignment.
  • Dynamic Physics Engine: Toggle gravity at any time to watch your creations react to simulated physics, causing unsupported structures to crumble realistically.
  • Real-Time Feedback: High-performance tracking provides instantaneous visual cues regarding hand presence and gesture recognition status.

Technical Implementation

The application architecture focuses on low-latency processing to ensure that the hand-tracking loop stays perfectly synced with the 3D rendering loop.

  • Rendering: Utilizes Three.js for a robust, high-performance 3D scene graph.
  • Vision: Employs MediaPipe's HandLandmarker, providing high-fidelity coordinate extraction without the need for specialized hardware.
  • UI/UX: Lightweight vanilla JavaScript ensures zero-dependency performance, making the app accessible instantly via any modern web browser.

Getting Started

  1. Environment: Ensure your computer has a functional webcam and a well-lit workspace.
  2. Run Locally: Clone the repository and serve the static files:
    npx http-server . -p 8080
    

Ad Space - project-middle

Live Preview

If the preview doesn't load, the site may not allow embedding. Use the links at the top to open it directly.

Tags

JavaScriptThree.jsMediaPipeComputer VisionWebXR3D Rendering

Ad Space - project-bottom