Discover and explore top open-source AI tools and projects—updated daily.
XR Blocks is a lightweight, cross-platform JavaScript library designed for rapid prototyping of advanced XR and AI experiences. It targets developers looking to build immersive applications that integrate features like hand tracking, gesture recognition, and AI-powered world understanding, offering a unified SDK for both XR devices and desktop browsers.
How It Works
Built on top of three.js, XR Blocks provides a developer-friendly SDK that simplifies complex XR and AI integrations. It enables advanced hand tracking and custom gesture recognition using on-device models (TensorFlow Lite/PyTorch), alongside world understanding capabilities like depth sensing and object recognition powered by Gemini. The framework's core advantage lies in its cross-platform compatibility, allowing developers to write code once and deploy to WebXR-compatible devices and desktop Chrome browsers, streamlining the prototyping process.
Quick Start & Requirements
git clone --depth=1 git@github.com:google/xrblocks.git), navigate into the directory (cd xrblocks), and install dependencies with npm ci.http://localhost:8080/ using npm run serve.npm run dev to build in watch mode and serve locally.Highlighted Details
Maintenance & Community
XR Blocks is actively maintained by the XR Labs team and external collaborators, fostering an AI + XR community. While not an officially supported Google product, it is presented as a visionary roadmap through blog posts and white papers.
Licensing & Compatibility
The README does not explicitly state a license. It is an open-source SDK. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
This project is not an officially supported Google product and is not eligible for the Google Open Source Software Vulnerability Rewards Program. Certain features require explicit user permissions, and denied permissions may impact functionality. Secure handling of API keys for AI features (Gemini) is critical, as they should never be committed to source control or exposed client-side.
1 day ago
Inactive