A minimalist web application for viewing 3D models in your browser. Upload and visualize OBJ, STL, GLTF, and GLB files with an intuitive interface.
- 🎨 Minimalist Design - Clean, modern interface focused on your 3D models
- 📁 Multiple Format Support - Works with OBJ, STL, GLTF, and GLB files
- 🖱️ Interactive Controls - Rotate, zoom, and pan around your models
- 🔗 Model Sharing - Upload and share models with a single link via Vercel Blob storage
- 🚀 No Installation Required - Runs directly in your browser
- 📱 Responsive - Works on desktop and mobile devices
- Click the "Upload 3D File" button
- Select a 3D model file (OBJ, STL, GLTF, or GLB)
- Interact with your model:
- Rotate: Left click and drag
- Zoom: Scroll wheel
- Pan: Right click and drag
- Click "Share Model" to get a shareable link
- Anyone with the link can view your model directly!
You can also drag and drop files directly onto the page!
- Go to vercel.com and sign in
- Click "Add New Project"
- Import your Git repository
- Click "Deploy"
To enable the sharing feature, you must set up Vercel Blob storage:
- After deployment, go to your project dashboard
- Click the "Storage" tab
- Click "Create Database" → Select "Blob"
- Name it (e.g., "3d-models-storage")
- Click "Connect to Project" and select your 3D Viewer project
That's it! The sharing feature will now work automatically.
📖 Detailed setup instructions: See SETUP.md
npm install
vercel devSimply open index.html in a web browser, or use a local server:
# Using Python 3
python -m http.server 8000
# Using Node.js
npx serveThen open http://localhost:8000 in your browser.
- Three.js - 3D graphics library
- Vanilla JavaScript - No framework dependencies
- HTML5 & CSS3 - Modern web standards
- OBJ - Wavefront 3D Object File
- STL - Stereolithography File
- GLTF - GL Transmission Format (text-based)
- GLB - GL Transmission Format (binary)
Works on all modern browsers that support WebGL:
- Chrome/Edge (recommended)
- Firefox
- Safari
- Opera
Free to use and modify as needed.