An interactive 3D web application showcasing the Audi R8. This project leverages the power of WebGL to render a high-fidelity car model directly in the browser, allowing users to explore the vehicle from every angle.
- Interactive 3D Model: Fully manipulatable 3D view (orbit, zoom, pan).
- High-Quality Rendering: Realistic lighting, reflections, and materials.
- Responsive Design: Optimized for smooth performance across desktop and mobile devices.
- Fast Loading: Powered by Vite for instant development server start and optimized builds.
- Framework: React
- Build Tool: Vite
- 3D Engine: Three.js
- React Renderer: React Three Fiber (R3F)
- Helpers: Drei (Useful helpers for R3F)
- Styling: CSS / Tailwind CSS (implied)
AudiR8/
├── public/ # Static assets (3D models .gltf/.glb, textures)
├── src/ # Source code (Components, Canvas setup)
├── index.html # Entry point
├── vite.config.js # Vite configuration
└── package.json # Dependencies and scripts
📋 Prerequisites
Ensure you have the following installed:
Node.js (v16+)
npm
📦 Installation & Run
Clone the repository
Bash
git clone [https://github.com/Mayawaaan/AudiR8.git](https://github.com/Mayawaaan/AudiR8.git)
cd AudiR8
Install dependencies
Bash
npm install
Start the development server
Bash
npm run dev
View in Browser Open the local URL provided in the terminal (usually http://localhost:5173) to interact with the 3D model.
🌐 Live Demo
Check out the live version deployed here: https://audi-r8-woad.vercel.app
🤝 Contributing
Contributions are welcome! If you want to improve the lighting, add car colors, or optimize the model:
Fork the repo.
Create a branch (git checkout -b feature/NewColor).
Commit changes.
Push to the branch.
Open a Pull Request.
📧 Contact
Mayawaaan - GitHub Profile
Project Link: https://github.com/Mayawaaan/AudiR8