Skip to content

Ansh181005/ARVR-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ MetaSphere - AR/VR Experience Platform

A digital sphere for AR/VR innovation

A stunning, modern web experience showcasing Augmented Reality (AR), Virtual Reality (VR), and Mixed Reality (MR) technologies. MetaSphere combines cutting-edge design with smooth interactions to educate and inspire visitors about the future of immersive technology.


πŸ“‹ Table of Contents


🎯 Overview

MetaSphere is a premium AR/VR technology showcase built with modern web standards. It features an immersive landing page that educates visitors about Virtual Reality, Augmented Reality, and Mixed Reality technologies through beautifully designed sections and smooth animations.

Key Tagline: "Experience the Future - Step into a world where reality meets imagination."


✨ Features

  • 🎨 Premium Dark Theme - Elegant black background with vibrant purple accents (#9333ea) and glass-morphism effects
  • πŸ“± Fully Responsive Design - Seamless experience across desktop, tablet, and mobile devices
  • ✨ Smooth Animations & Parallax - Hero background parallax, fade-in effects, and smooth scrolling
  • 🎯 CSS Grid Layouts - Professional 3-column grid for feature cards
  • πŸ“‘ Dynamic Navigation - Fixed navbar with scroll-triggered transparency changes
  • πŸ“± Mobile Menu - Hamburger menu with smooth interactions for mobile devices
  • ⚑ Intersection Observer - Efficient fade-in animations triggered on scroll
  • πŸ”— Smooth Scroll Behavior - Anchor-based navigation with smooth page scrolling
  • β™Ώ Accessible SVG Icons - Bootstrap and custom SVG icons throughout
  • ⚑ Zero Dependencies - Lightweight, pure HTML5, CSS3, and Vanilla JavaScript

🌐 Demo

Open AR_VR.html in your web browser to see the live experience:

# Windows
start AR_VR.html

# macOS
open AR_VR.html

# Linux
xdg-open AR_VR.html

Or simply double-click the file to open it in your default browser.


πŸ“‘ Sections

🏠 Hero Section (#home)

  • Stunning gradient background with parallax effect
  • Large animated title: "Experience the Future"
  • Call-to-action buttons: "Explore VR" and "Try AR Demo"
  • Animated SVG VR headset icon
  • Smooth entrance animations with staggered timing

πŸ”„ Features/Comparison Section (#compare)

  • Compares three immersive technologies in a grid layout:

    Virtual Reality (VR)

    • Fully immersive, computer-generated simulations
    • Accessed through VR headsets
    • Complete escape from physical world

    Augmented Reality (AR)

    • Blends digital overlays with real-world environment
    • Uses computer vision, mapping, and depth tracking
    • Accessible via smartphones or AR glasses

    Mixed Reality (MR)

    • Emerging hybrid of VR and AR
    • Real-time environmental mapping
    • Example: Microsoft HoloLens experiences

πŸ“± Navigation

  • Desktop: Horizontal navigation bar with links to Home, AR, VR, and Compare sections
  • Mobile: Hamburger menu that toggles a collapsible mobile menu
  • Sticky: Navbar remains fixed at the top with transparency that increases on scroll

πŸ› οΈ Technologies Used

Technology Purpose
HTML5 Semantic structure and accessibility
CSS3 Advanced styling with CSS variables, Grid, Flexbox, animations
Vanilla JavaScript Interactive features without dependencies
SVG Icons Bootstrap icons and custom graphics
CSS Animations @keyframes fadeInUp for smooth transitions
Intersection Observer API Efficient scroll-triggered animations
CSS Custom Properties Theme variables for easy customization

Color Palette

Primary: #9333ea (Purple)
Primary Dark: #7e22ce (Dark Purple)
Background: #000000 (Black)
Text: #ffffff (White)
Text Secondary: #a3a3a3 (Gray)

πŸ“¦ Installation

Quick Start

  1. Clone or download this repository:

    git clone <repository-url>
    cd "ARVR website"
  2. Open the file:

    • Double-click AR_VR.html, or
    • Right-click and select "Open with" your preferred browser, or
    • Drag and drop into your browser

Requirements

βœ… Zero external dependencies!

  • Any modern web browser (no build tools needed)
  • No npm, webpack, or bundlers required
  • No internet connection needed (except for Unsplash background image)

🎨 Customization

Change Colors

Edit the CSS :root variables in the <style> section:

:root {
    --color-primary: #9333ea;        /* Main purple color */
    --color-primary-dark: #7e22ce;   /* Hover state */
    --color-bg: #000000;             /* Background */
    --color-text: #ffffff;           /* Main text */
    --color-text-secondary: #a3a3a3; /* Secondary text */
}

Modify Content

  • Hero Title: Change "Experience the Future"
  • Hero Description: Update the tagline text
  • Feature Cards: Edit the VR, AR, and MR descriptions
  • Navigation Links: Update href attributes in navbar and mobile menu

Adjust Animations

  • Animation Speed: Modify the 0.8s timing in CSS animations
  • Stagger Delay: Change values like 0.2s, 0.4s, 0.6s for hero elements
  • Parallax Speed: Adjust the 0.5 multiplier in the parallax scroll function

Add New Sections

Add new <section> elements after the features section following this pattern:

<section class="features" id="new-section">
    <div class="features-container">
        <!-- Your content here -->
    </div>
</section>

🌍 Browser Support

Browser Version Support
Chrome Latest βœ… Full
Firefox Latest βœ… Full
Safari Latest βœ… Full
Edge Latest βœ… Full
Opera Latest βœ… Full
IE 11 - ❌ Not Supported

πŸ“ Project Structure

ARVR website/
β”œβ”€β”€ AR_VR.html              # Main website file (all-in-one)
β”‚   β”œβ”€β”€ HTML Structure
β”‚   β”œβ”€β”€ Embedded CSS Styling
β”‚   └── Embedded JavaScript
β”œβ”€β”€ README.md               # Documentation (this file)
└── (Optional) Assets/      # For images, icons, etc.

πŸ§ͺ Interactive Features

Mobile Menu Toggle

  • Click the hamburger icon on mobile to show/hide navigation
  • Menu auto-closes when a link is clicked or when clicking outside

Smooth Navigation

  • Click any navigation link to smoothly scroll to that section
  • Links use # anchors (e.g., #home, #ar, #vr, #compare)

Scroll Effects

  • Hero background moves slower than scroll (parallax effect)
  • Feature cards fade in when scrolled into view
  • Navbar background becomes more opaque when scrolling down

Button Interactions

  • "Explore VR" button has animated arrow that moves on hover
  • Both buttons have smooth color transitions

πŸ”§ JavaScript Functions

Function Purpose
Mobile menu toggle Show/hide menu on hamburger click
Smooth scroll anchor Navigate smoothly to sections
Intersection Observer Trigger fade-in animations on scroll
Parallax background Move hero background on scroll
Navbar scroll handler Change navbar opacity on scroll

πŸ“Š Performance

  • File Size: Single HTML file (< 50KB)
  • Load Time: Instant - no external dependencies
  • Animations: GPU-accelerated CSS transforms
  • Scroll Performance: Optimized with Intersection Observer

🀝 Contributing

Contributions welcome! Here's how to help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Ideas for Contributions

  • Add more AR/VR technology comparisons
  • Create product showcase section
  • Add testimonials or case studies
  • Implement contact form
  • Add dark/light theme toggle
  • Expand mobile experience

πŸ“„ License

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


πŸ“§ Contact & Support

Have questions or suggestions?


πŸŽ‰ Acknowledgments

  • Inspired by modern AR/VR technology platforms
  • Built with pure HTML, CSS, and JavaScript - no frameworks needed
  • Designed for tech enthusiasts and AR/VR innovators
  • Background image courtesy of Unsplash

πŸ“ Changelog

Version 1.0 (May 2026)

  • βœ… Initial release
  • βœ… Hero section with parallax
  • βœ… AR/VR/MR comparison features
  • βœ… Responsive mobile design
  • βœ… Smooth scroll animations

Last Updated: May 2026 | Status: Production Ready ✨

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages