This template uses Three.js and WebXR to provide an immersive 3D painting experience using Logitech MX-INK.
- Node.js (version 12.0 or higher recommended)
- Logitech MX-INK Stylus
- Quest 3/3S headset
- Clone the repository:
git clone https://github.com/yourusername/mx-ink-webxr.git
cd mx-ink-webxr
- Install dependencies:
npm install
To run the application in development mode:
npm run dev
This will start a local development server. Open your browser and navigate to http://localhost:5173
(or the port specified in your console output).
To create a production build:
npm run build
This will generate optimized files in the dist
directory.
After building, you can deploy the contents of the dist
directory to your preferred hosting platform.
- Open the application in Quest browser.
- Click the "Enter XR" button to start.
- Use your stylus to paint in 3D space.
- Enjoy!
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.