Skip to content

πŸš€ Three.js Robot Hero Section πŸ€–βœ¨ 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. πŸš€πŸ’‘

Notifications You must be signed in to change notification settings

ExploitEngineer/cyber-hero-threejs

Repository files navigation

πŸš€ Cyber Model Three.js πŸ€–

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. πŸš€πŸ’‘

🌐 Live Demo

πŸ‘‰ Check it out here! (https://cyber-hero-threejs.vercel.app)

πŸ“Œ Features

  • ⚑ Built with Vite for fast development
  • 🎭 Three.js for 3D rendering
  • πŸ€– GLTF Model Loading (Robot model)
  • πŸŽ₯ Smooth camera controls
  • πŸ“± Responsive design

πŸ“¦ Installation

1️⃣ Using Vite (Recommended)

# 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

2️⃣ Vanilla JavaScript Setup

# Clone the repo
git clone https://github.com/ExploitEngineer/cyber-hero-threejs.git
cd cyber-hero-threejs

# Open index.html in your browser

3️⃣ JavaScript with Local Server

# Install a simple live server
npm install -g serve

# Serve the project
serve .

πŸ“‚ Folder Structure

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

πŸ“œ License

This project is open-source and available under the MIT License.


πŸ’™ Made with Three.js & Vite | ⭐ Star the repo if you like it! πŸš€

About

πŸš€ Three.js Robot Hero Section πŸ€–βœ¨ 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. πŸš€πŸ’‘

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published