A 3D visualization of the SpectAR AI-powered glasses using Three.js.
spectar-glasses/
├── index.html # Main HTML file
├── netlify.toml # Netlify configuration
├── package.json # Project dependencies
└── src/ # Source code
├── main.js # Main application code
├── components/ # UI components
│ └── HDRSelector.js
└── assets/ # 3D models and textures
├── sunglasses-spectar.gltf
├── brown_photostudio_01_4k.hdr
├── belfast.hdr
└── lilienstein_4k.hdr
-
Install dependencies:
npm install -
Run a local server:
npx serve -
Open your browser and navigate to
http://localhost:5173