Skip to content

A frontend web app built with React, Vite, and Three.js to showcase interactive 3D superhero models. Open-source and optimized for learning and collaboration.

License

Notifications You must be signed in to change notification settings

Mohammed-Thaha/HeroSpectra-3D

Repository files navigation

HeroSpectra 3D

Screen Recording 2025-06-14 005451 (1)

MIT License PRs Welcome

🚀 Project Overview

HeroSpectra 3D is an interactive web application built using:

  • React for dynamic UI components
  • Vite for fast and efficient development
  • Three.js for immersive 3D rendering

🌟 Features

  • Explore high-quality 3D models of superheroes:
    • Iron Man
    • Captain America
    • Hulk
    • Thor
    • Spider-Man
  • Smooth rotation, zoom, and interaction for an engaging experience
  • Optimized for modern web browsers

We appreciate contributions! Check out our Contribution Guide for details. 🚀

✨ Features

  • 🎨 High-quality 3D rendering with Three.js
  • ⚡ Fast and modular React app setup with Vite
  • 🕹️ Interactive controls (rotate, zoom, pan)
  • 📦 Open-source assets with proper licensing
  • 🤝 Community-driven development

🛠️ Tech Stack

  • Frontend: React 19, Vite
  • 3D Rendering: Three.js (v0.177.0)
  • Styling: Tailwind CSS
  • Linting: ESLint (React Hooks & React Refresh)
  • Package Manager: npm

📦 Installation & Setup

  1. Clone the repository

    git clone https://github.com/Mohammed-Thaha/HeroSpectra-3D.git
    cd HeroSpectra-3D
  2. Install dependencies

    npm install
  3. Run the local development server

    npm run dev

🤝 Contribution Guide

We welcome contributions from the community! To get started, please review our CONTRIBUTING.md, which outlines the steps for making meaningful contributions.

All contributors are expected to follow our Code of Conduct to ensure a respectful and inclusive environment.

✨ How to Contribute

  1. Fork the repository and create your branch from main.
  2. Make your changes following our contribution guidelines.
  3. Submit a pull request with a clear, detailed description of your modifications.
  4. Ensure your code adheres to our coding standards and passes necessary checks.

We appreciate every contribution and look forward to collaborating with you! 🚀

📁 Project Structure

my-project/
├── .gitignore               # Git ignore rules
├── README.md                # Project overview and instructions
├── eslint.config.js         # ESLint configuration file
├── index.html               # Main HTML file
├── package.json             # NPM package configuration
├── package-lock.json        # NPM package lock file
├── vite.config.js           # Vite configuration
├── public/                  # Public assets served statically
│   └── assets/              # 3D models and textures
│       ├── captain_america/
│       │   ├── license.txt
│       │   ├── scene.bin
│       │   ├── scene.gltf
│       │   └── textures/
│       │       ├── Material__25_baseColor.jpeg
│       │       └── Material__26_baseColor.jpeg
│       ├── hulk/
│       │   ├── license.txt
│       │   ├── scene.bin
│       │   ├── scene.gltf
│       │   └── textures/
│       │       └── hulk_lambert_baseColor.png
│       ├── iron_man/
│       │   ├── license.txt
│       │   ├── scene.bin
│       │   ├── scene.gltf
│       │   └── textures/
│       │       ├── model_1_submesh_0_baseColor.png
│       │       └── (other texture files)
│       ├── spider_man/
│       │   ├── license.txt
│       │   ├── scene.bin
│       │   ├── scene.gltf
│       │   └── textures/
│       │       └── CoC_iOS_HER_PPA_SEN_B_baseColor.png
│       └── thor/
│           ├── license.txt
│           ├── scene.bin
│           ├── scene.gltf
│           └── textures/
│               └── Material_baseColor.png
├── src/                     # Source code
│   ├── App.jsx              # Main React application component
│   ├── components/          # React components folder
│   │   └── Model.jsx        # 3D model component
│   ├── index.css            # Global styles
│   └── main.jsx             # React app entry point

  • public/: Static assets and 3D models
  • src/components/: React components (Navbar, ModelViewer, Sidebar, etc.)
  • src/App.jsx: Main application component
  • src/main.jsx: Entry point for React
  • src/index.css: Tailwind CSS imports and custom styles
  • tailwind.config.js: Tailwind CSS configuration
  • .eslintrc.js: ESLint configuration

📜 License & Contact Info


Made with ❤️ by the Mohammed Thaha

About

A frontend web app built with React, Vite, and Three.js to showcase interactive 3D superhero models. Open-source and optimized for learning and collaboration.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published