Skip to content

SnakeEye-sudo/snakeeye-orbits-3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakeEye Orbits - 3D Interactive Portfolio

✨ A stunning 3D interactive portfolio showcasing orbiting GitHub projects around a glowing SnakeEye core ✨

Built with Three.js • WebGL • HTML5 • CSS3 • JavaScript


🌟 Features

Interactive 3D Scene - Real-time Three.js rendering with smooth animations ✅ Mouse Tracking - Camera follows cursor for immersive experience ✅ Orbiting Projects - GitHub projects orbit around glowing SnakeEye core ✅ Clickable Objects - Click orbiting cubes to visit GitHub repositories ✅ Responsive Design - Works seamlessly on desktop and mobile ✅ Glowing Effects - Neon cyan aesthetic with glassmorphism UI ✅ Auto-Animation - Self-rotating core and independent orbit mechanics ✅ Performance Optimized - Efficient Three.js scene management


🎮 Live Demo

Visit the live project: SnakeEye Orbits (Deploy on Vercel)


🚀 Getting Started

Prerequisites

  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • No build tools required! Pure vanilla JavaScript

Installation

  1. Clone the repository:
git clone https://github.com/SnakeEye-sudo/snakeeye-orbits-3d.git
cd snakeeye-orbits-3d
  1. Open in browser:
# Simply open index.html in your browser
open index.html  # macOS
start index.html # Windows
xdg-open index.html # Linux

Or use a local server:

# Using Python
python -m http.server 8000

# Using Node.js (http-server)
npx http-server

# Using VS Code Live Server
# Install extension and right-click index.html → Open with Live Server

📁 Project Structure

snakeeye-orbits-3d/
├── index.html          # Main HTML structure
├── styles.css          # Complete styling & animations
├── main.js             # Three.js scene logic
├── README.md           # Documentation
└── package.json        # Project metadata

🎨 How It Works

Core Architecture

  1. Three.js Scene - Initializes WebGL rendering context
  2. Central Object - Glowing icosahedron represents SnakeEye
  3. Orbiting Cubes - Represent GitHub projects in orbit
  4. Mouse Interaction - Camera moves with cursor tracking
  5. Click Detection - Raycaster picks objects and opens repos

Key Components

  • Scene: 3D environment with proper lighting and fog
  • Camera: Perspective camera with mouse-based movement
  • Renderer: WebGL renderer with antialiasing
  • Lighting: Ambient light + point light for realistic shading
  • Geometry: Icosahedrons and boxes with Phong materials

🎯 Customization

Add Your Own Projects

Edit the projects array in main.js:

const projects = [
  { name: 'your-repo-name', category: 'Category', radius: 1.5 },
  { name: 'another-project', category: 'Category', radius: 2.0 },
  // Add more projects...
];

Change Colors

  • Edit CSS variables in styles.css
  • Modify Three.js material colors in main.js
  • Update accent color from #00ff96 to your preference

Adjust Animation Speed

// In main.js, modify the speed property:
{ name: 'project-name', category: 'Category', radius: 1.5, speed: 0.5 }
// Higher = faster orbit

🔧 Technologies Used

  • Three.js - 3D graphics library
  • WebGL - Hardware-accelerated graphics
  • HTML5 Canvas - Rendering target
  • CSS3 - Animations, gradients, glassmorphism
  • Vanilla JavaScript - No frameworks needed

📊 Performance

  • Frame Rate: 60 FPS on modern browsers
  • Bundle Size: ~150KB (Three.js CDN)
  • Load Time: <2 seconds on typical connection
  • Memory: Optimized scene management

🌐 Browser Compatibility

Browser Version Status
Chrome 90+ ✅ Full Support
Firefox 88+ ✅ Full Support
Safari 14+ ✅ Full Support
Edge 90+ ✅ Full Support
Mobile Chrome Latest ✅ Full Support

🎓 Learning Resources


📝 License

MIT License - Feel free to use and modify!


🤝 Contributing

Contributions are welcome! Feel free to:

  • Fork the repository
  • Create a feature branch
  • Submit pull requests
  • Report issues

👨‍💻 About SnakeEye

Coder • AI/ML • Security • Never blinking, always building. #SnakeEye

  • 🔗 GitHub: @SnakeEye-sudo
  • 📧 Always open to collaborations and interesting projects

Made with ❤️ and WebGL

Give this project a ⭐ if you like it!

About

A stunning 3D interactive portfolio showcasing orbiting GitHub projects around a glowing SnakeEye core. Built with Three.js, featuring real-time cursor tracking and smooth animations.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors