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
- 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. 🚀
- 🎨 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
- Frontend: React 19, Vite
- 3D Rendering: Three.js (v0.177.0)
- Styling: Tailwind CSS
- Linting: ESLint (React Hooks & React Refresh)
- Package Manager: npm
-
Clone the repository
git clone https://github.com/Mohammed-Thaha/HeroSpectra-3D.git cd HeroSpectra-3D
-
Install dependencies
npm install
-
Run the local development server
npm run dev
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.
- Fork the repository and create your branch from
main
. - Make your changes following our contribution guidelines.
- Submit a pull request with a clear, detailed description of your modifications.
- Ensure your code adheres to our coding standards and passes necessary checks.
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: MIT License
- Contact: Please use GitHub Issues
Made with ❤️ by the Mohammed Thaha