rekliner / xr-next-starter

Home Page:https://xr-next-starter.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XR-NEXT-STARTER

This is a boilerplate of some useful React-XR specific items that I often start out with:

  • VR/AR selection for the button.
  • A zustand store tracking the type of XR Session
  • A pose-aware default position enforcer.
  • Interaction wrapper from enijar/react-xr-ui to simplfy clicks and such
  • Uses Nextjs framework with some basic options prepared
  • Simplified https service for localhost dev environment (since https is required for XR sessions)
  • Some default 3d objects and helpers

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open https://localhost:300 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

About

https://xr-next-starter.vercel.app


Languages

Language:TypeScript 98.5%Language:JavaScript 0.8%Language:CSS 0.7%