An interactive 3D container viewer built with React and Three.js. This application allows users to:
- View a 3D container model
- Upload and display custom logos on the container
- Adjust container properties (scale, rotation, color)
- Toggle visibility of container elements
- Select different container models
Visit the live demo at: https://coder69developer.github.io/3d_viewer
- Interactive 3D container visualization
- Custom logo upload and display
- Real-time container property adjustments
- Responsive design
- Model selection
- Material customization
- React
- Three.js
- @react-three/drei
- @react-three/fiber
- Vite
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/coder69developer/3d_viewer.git
cd 3d_viewer- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn dev- Build for production:
npm run build
# or
yarn build- Open the application in your browser
- Use the controls panel to:
- Upload a custom logo
- Adjust container scale and rotation
- Change container color
- Toggle label and logo visibility
- Interact with the 3D model using mouse controls:
- Left click + drag to rotate
- Right click + drag to pan
- Scroll to zoom
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
