/3d-shirt

3D shirt customizer

Primary LanguageJavaScriptApache License 2.0Apache-2.0

T-Shirt customizer with threejs

Live demo at https://3d-shirt.vercel.app/

demo

This repository is a T-shirt customization application using threejs and DALL-E 2 API allows users to customize their T-shirt using their favorite color, logo, and pattern, or ask AI to generate stunning and attractive logos and patterns for their shirt.

Techologies:

Features

  • Customize shirt color
  • Customize logo
  • Customize pattern
  • Generate logo using DALL-E 2
  • Generate pattern using DALL-E 2
  • Save your customized shirt to png

Setup development

Setup environment variables

For the environment variables required, see env.sample. Each server will need its own .env file.

Run the server

For Node.js server:

cd server 
npm install
npm start

For Go server:

cd go-server
go mod tidy
go run main.go

The server will then listen on http://localhost:8080

Run the client

cd client
npm install
npm run dev

The client will be available at http://localhost:5173