Skip to content

Ofear/SWLL

Repository files navigation

XR.JSON: Spatial Web Rendering Standard for AR/VR Experiences

XR.JSON is a new standard that allows any existing website to describe how its content should be rendered in a spatial (AR/VR) environment, enabling immersive browsing experiences.

Vision

Transform traditional 2D websites into meaningful spatial experiences for AR/VR devices through a standardized JSON-based approach that is:

  • Simple to implement
  • Declarative
  • Backward compatible with existing web content

Key Components

  1. xr.json Specification - A JSON schema for describing spatial layouts
  2. WebXR Renderer - Three.js based engine to interpret and display xr.json content
  3. Voice Assistant - Optional AI-powered voice interaction
  4. Automatic Converter - AI-powered tool to transform HTML to xr.json

Getting Started

# Clone the repository
git clone https://github.com/yourusername/xr-json.git
cd xr-json

# Install dependencies
npm install

# Run development server
npm run dev

Usage

Add to your HTML:

<link rel="xr-manifest" href="/xr.json">
<script src="https://cdn.example.com/xr-json-renderer.js"></script>

Documentation

Examples

See the examples directory for sample implementations.

License

MIT

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors