- π Overview
- π¦ Features
- π Structure
- π» Installation
- ποΈ Usage
- π Hosting
- π API Documentation
- π License
- π Authors
This repository showcases a 3D interactive landing page designed for a cat food marketplace. It provides an engaging online shopping experience using React, Three.js, and React Three Fiber. This MVP emphasizes interactive product exploration and visual appeal.
| Feature | Description | |
|---|---|---|
| π§ | 3D Scene Management | ThreeScene.tsx: Core Three.js scene setup with camera, lighting, and controls. |
| βοΈ | 3D Model Loading | ModelLoader.tsx: Loads and optimizes 3D models (GLTF) for web delivery. |
| β¨ | Animation System | use3DAnimation.ts: Manages and controls animations on 3D objects. |
| π | Scroll-Triggered Effects | ScrollScene.tsx: Creates 3D scene animations driven by scroll events. |
| π | Interactive Elements | use3DInteraction.ts: Enables click, hover, and drag interactions with 3D objects. |
| π¨ | Theming and Styling | Tailwind CSS: Provides a utility-first CSS framework for consistent and responsive styling. |
| πΊοΈ | Route Management | React Router: Enables navigation between different sections of the site (Home, About, Contact, etc.). |
| π | Optimized Performance | Model optimization, lazy loading, and adaptive rendering for smooth user experience. |
furrydelight-3d-marketplace/
βββ public/ # Static assets (3D models, textures, fonts, etc.)
βββ src/
β βββ components/ # React components
β β βββ 3d/ # 3D related components
β β β βββ core/ # Core 3D components (Scene, Camera, Lights)
β β β βββ models/ # 3D model components (CatFoodModel, etc.)
β β βββ layout/ # Reusable React layout components.
β β β βββ Header.tsx # Contains the header content.
β β β βββ Footer.tsx # Contains the footer content.
β β βββ sections/ # React sections related to the main landing page and sections.
β β β βββ LandingHero.tsx # Contains the Hero for the 3D landing page.
β β βββ ui/ # Basic Reusable React UI components.
β β βββ 3d/
β β β βββ ThreeScene.tsx # Used for all the basic 3D scene.
β β β βββ ModelLoader.tsx # General method to load models into the 3D scenes.
β β βββhooks/ # All reusable React hooks.
β β β βββ use3DAnimation.tsx # Used to animate and generate threeJS models.
β β β βββ use3DInteraction.tsx # Provides a way to use interactions with 3D scenes.
β βββ pages/ # React pages
β β βββ HomePage.tsx # Main landing page
β βββ utils/ # Utility functions
β β βββ three-helpers.ts # Utility functions for Three.js operations
β β βββ modelManager.ts # Manages 3D model caching and optimization
β βββ App.tsx # Main application component
β βββ main.tsx # Entry point for React
βββ index.html # HTML entry point
βββ package.json # Project dependencies and scripts
βββ vite.config.ts # Vite configuration
βββ tsconfig.json # TypeScript configuration
- Clone the repository:
git clone https://github.com/coslynx/furrydelight-3d-marketplace.git
cd furrydelight-3d-marketplace- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env
# Fill in required environment variables in .env file- Start the development server:
npm run dev
- Access the application at
http://localhost:5173
Tip
- Modify
src/App.tsxto customize the website title, navigation links, and other configurations. - Adjust 3D model paths in
src/components/sections/LandingHero.tsxto use custom models.
- Displaying the Landing Page:
Navigate to the root URL
/to view the 3D landing page.
- Create a Vercel account and install the Vercel CLI:
npm install -g vercel- Link your local project to Vercel:
vercel link- Deploy the project:
vercel deploy --prodVITE_APP_TITLE: Sets the title of the application. Example:FurryDelight 3D
This MVP does not include a backend API. It is a front-end project focused on showcasing 3D content.
Note
This Minimum Viable Product (MVP) is licensed under the MIT License.
This MVP was entirely generated using artificial intelligence through CosLynx.com.
No human was directly involved in the coding process of the repository: furrydelight-3d-marketplace
For any questions or concerns regarding this AI-generated MVP, please contact CosLynx at:
- Website: CosLynx.com
- Twitter: @CosLynxAI
Create Your Custom MVP in Minutes With CosLynxAI!