This project is a step-by-step tutorial on building an AI-powered, 3D product-based website using React, Three.js, and other modern web development tools. This beginner-friendly course demonstrates how to integrate 3D rendering and customization features, allowing users to interact with and personalize products like T-shirts in real-time.
Clone the repository:
git clone https://github.com/anjali-vaish/3D-custom-tshirt
cd threejs
Navigate to the client
directory:
cd client
Install dependencies:
npm install
Set up Tailwind CSS:
index.css
.tailwind.config.js
paths.Start the development server:
npm run dev
Open the application in your browser at http://localhost:3000
.
client/
├── public/ # Static assets and 3D models
├── src/
│ ├── assets/ # Images and icons
│ ├── config/ # Constants, helpers, and motion utilities
│ ├── pages/ # Home and customizer pages
│ ├── canvas/ # Components for 3D rendering
│ ├── App.jsx # Main application
│ └── index.jsx # Entry point
Three.js
and React 3 Fiber
for real-time rendering.The project is hosted using Hostinger with a custom domain. To deploy:
Credits: Inspired by Anderson Manchini’s 3D project with additional features. For an in-depth course on 3D modeling, visit Anderson's course link.
Feel free to open issues or submit pull requests to improve this project.
This project is licensed under the MIT License.