This project is a 3D model viewer built with React and Vite. It allows users to view, customize, and upload 3D models using the Three.js library and React Three Fiber.
- React: A JavaScript library for building user interfaces.
- Vite: A fast build tool for modern web projects.
- Three.js: A JavaScript library for creating 3D graphics.
- React Three Fiber: A React renderer for Three.js.
- React Router: A library for routing in React applications.
- Framer Motion: A library for animations in React.
- Lil-GUI: A lightweight GUI for adjusting parameters in real-time.
- App.jsx: The main entry point of the application. It sets up the routes for different pages using React Router.
- Home.jsx: The home page that showcases various 3D components like buttons, cards, and particle systems.
- UploadModel.jsx: A page where users can upload their 3D models in .glb or .gltf format.
- Shape3D.jsx: A gallery of predefined 3D shapes that users can customize.
- Models3D.jsx: A gallery of 3D models that users can view, download, and customize.
- GetCode.jsx: A component that provides code snippets for integrating 3D models into different frameworks (React, Next.js, Vanilla JS).
- Docs.jsx: A documentation page that provides installation guides and tips for using the application.
- CustomizesShape.jsx: A page for customizing predefined 3D shapes.
- CustomizeModel.jsx: A page for customizing uploaded 3D models.
To get started with the project, follow these steps:
-
Clone the repository:
git clone https://github.com/ParthJoshi19/Three_BB.git cd Three_BB -
Install dependencies:
npm install --legacy-peer-deps
-
Start the development server:
npm run dev
-
Open your browser and navigate to developmentg url.
- Home Page: Explore various 3D components.
- Upload Model: Upload your 3D models and customize them.
- 3D Shapes Gallery: View and customize predefined 3D shapes.
- 3D Models Gallery: View, download, and customize 3D models.
- Get Code: Copy code snippets for integrating 3D models into different frameworks.
- Documentation: Follow the installation guides and tips for using the application.