A futuristic hero section built with Three.js and Vite, featuring a robot model in a dynamic 3D scene! π¨πΉ Perfect for adding an interactive touch to websites. Includes GLTF model loading, camera controls, and smooth animations. ππ‘
π Check it out here! (https://cyber-hero-threejs.vercel.app)
- β‘ Built with Vite for fast development
- π Three.js for 3D rendering
- π€ GLTF Model Loading (Robot model)
- π₯ Smooth camera controls
- π± Responsive design
# Install Vite globally (if not installed)
npm create vite@latest cyber-hero-threejs --template vanilla
# Navigate into the project folder
cd cyber-hero-threejs
# Install dependencies
npm install
# Start development server
npm run dev
# Clone the repo
git clone https://github.com/ExploitEngineer/cyber-hero-threejs.git
cd cyber-hero-threejs
# Open index.html in your browser
# Install a simple live server
npm install -g serve
# Serve the project
serve .
cyber-hero-threejs/
βββ public/ # Static assets (models, textures)
βββ src/
β βββ assets/ # 3D Models & Images
β βββ main.js # Three.js logic
β βββ styles.css # Styling
βββ index.html # Main HTML File
βββ package.json # Project Config
This project is open-source and available under the MIT License.
π Made with Three.js & Vite | β Star the repo if you like it! π